Replies: 1 comment
-
Can you check if this library helps you: https://github.com/PedroBern/react-native-collapsible-tab-view |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I have a scrollable screen, and inside this screen a scrollable tab view (https://github.com/satya164/react-native-tab-view/). I'm curious if the following is possible with RNGH:
Once the outer scroll view is scrolled to the point where the tab view is on the top, let the inner scrollview(s) take over the gesture, each tab keeping their own scroll state, but whenever the current inner scrollview is scrolled upwards, at y=0 the outer scrollview would take over the gesture.
Without scrolling, we control the parent scrollview here.

Reached the tab view, we control the inner scrollview here as long as we don't exceed 0 in the negative direction, at that point we "give" back the gesture to the outer scrollview.

Beta Was this translation helpful? Give feedback.
All reactions