d82592f072
Patches react-native-pager-view to handle iOS 26's interactiveContentPopGestureRecognizer, using the same logic that already exists for RNSPanGestureRecognizer: on the leftmost page, disable the scrollview's pan gesture to let the back gesture through. Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
809 B
809 B
react-native-pager-view+6.8.0.patch
Adds support for iOS 26's interactiveContentPopGestureRecognizer (full-screen back gesture).
The pager already handles RNSPanGestureRecognizer (react-native-screens' custom full-screen gesture for pre-iOS 26) in shouldRecognizeSimultaneouslyWithGestureRecognizer:. It checks if the user is on the leftmost page and swiping right - if so, it disables the scrollview's pan gesture to let the back gesture through.
This patch adds the same logic for iOS 26's native interactiveContentPopGestureRecognizer, so the back gesture works on the leftmost page while the pager still handles swipes on other pages.
Related issues: