-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
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
Conflicts when nesting PagerView inside of Material Top/Bottom Tab navigator #745
Comments
Did you find any solution? |
Unfortunately not |
I'm facing the same issue. Please help 🙏🏻 |
@sant3001 are you facing issue of black screen or not able to move? Also what version are you using? I was able to fix this using a patch which basically enable nested scroll. Let me know how I can help you |
@samiullah452 I was using version Then I reverted to version So no matter what version I'm in it seems to conflict between vertical and horizontal panning gestures. What version are you using? Can you please provide the patch you mentioned? Thanks in advance. |
Thanks @samiullah452 I got tired of dealing with these version issues and patches, so I just used a basic implementation similar to what @hewad-mubariz did in their implementation of Wiggling cards (without the wiggling animations): https://github.com/hewad-mubariz/reactnative-50-days/blob/main/wiggling-cards/src/components/WigglingCards.tsx#L65 |
@sant3001 glad you found a way around. |
Could you check, if this PR #933 resolves this issue? Thank you 🙏 |
Environment
Description
I have a vertical view pager nested inside of a material top tab screen. The vertical view pager works perfectly fine, however, I am no longer able to swipe horizontally across screens.
The nested ViewPager within the screen seems to hog all the swipe events and prevents me from swiping horizontally between screens of my navigator, which I believe is built on top of react-native-pager-view as well.
Ideally, the screen would register vertical swiping for my nested ViewPager and horizontal swiping for my navigator. Is there some way to allow my nested ViewPager to register just vertical swipes and pass through horizontal swipes to the parent?
The text was updated successfully, but these errors were encountered: