You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[0.88] Fix views with a SwiftUI-based filter offset by the safe area insets #1467
0.87 and 0.88 enable enableSwiftUIBasedFilters in the canary release level (react/react-native#56721). With this flag, UIHostingController adds safe-area insets to the content of a view that has a filter style. Because of this, the filtered content moves by the inset when the view is near a safe area edge. After view recycling, the content can also collapse to zero height and disappear (react/react-native#57642, reported on 0.87.0).
The fix sets safeAreaRegions = [] on the hosting controller. It also limits SwiftUI-based filters to iOS/tvOS 16.4 and later, where that API exists. The fix only changes iOS code and only affects apps that use the canary flag. It applies cleanly to 0.88-stable.
Activity
intergalacticspacehighway commentedon Oct 26, 2026
Duplicate of #1468, which was created through the pick request form so it has the correct label.