We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"react-native-pager-view": "6.7.0", "react-native": "0.77.1"
On iOS, scrollEnabled={false},navigator's back gestuer is broken Why need pan gestuer in this case?
scrollEnabled={false}
I use a temporary solution by adding code in ./node_modules/react-native-pager-view/ios/Fabric/RNCPagerViewComponentView.mm to fix it:
./node_modules/react-native-pager-view/ios/Fabric/RNCPagerViewComponentView.mm
- (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer { const auto &viewProps = *std::static_pointer_cast<const RNCViewPagerProps>(_props); return viewProps.scrollEnabled; }
It works for me. I want to make a PR, but I don't know if there is other logic that requires panGesture when scrollEnabled=false
The text was updated successfully, but these errors were encountered:
Hey, please create a PR and test it with examples
Sorry, something went wrong.
Closing as we merged #936
No branches or pull requests
Environment
"react-native-pager-view": "6.7.0",
"react-native": "0.77.1"
Description
On iOS,
scrollEnabled={false}
,navigator's back gestuer is brokenWhy need pan gestuer in this case?
I use a temporary solution by adding code in
./node_modules/react-native-pager-view/ios/Fabric/RNCPagerViewComponentView.mm
to fix it:It works for me.
I want to make a PR, but I don't know if there is other logic that requires panGesture when scrollEnabled=false
The text was updated successfully, but these errors were encountered: