-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix: swipe between child and parent TabNavigator #881
Conversation
unfortunately, I had some issue. I have added PR with yarn add then it fails when app fetches file /react-native-tab-view/package.json |
I think you need to build first, which generates |
@satya164 any updates on this? I've been patching this library with these changes in order for nested tab swiping to work. |
I would love to have this merged :) |
I need this |
}); | ||
}; | ||
|
||
// Cancel gesture if swiping back from initial tab or forward from last tab. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Cancel gesture if swiping back from initial tab or forward from last tab. | |
// Cancel gesture if swiping back from the initial tab or forward from the last tab. |
}; | ||
|
||
// Cancel gesture if swiping back from initial tab or forward from last tab. | ||
// Enables parent Pager to pick up the gesture, if one exists. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Enables parent Pager to pick up the gesture, if one exists. | |
// Enables parent Pager to pick up the gesture if one exists. |
* master: feat: export TabBarIndicator (satya164#962) chore: fix workflows chore: release 2.13.0 chore: add workflow for publishing expo app chore: upgrade depenendecies fix: wrap tabview with gesture handler wrapper chore: update @types/react-native and remove TODO (satya164#956) feat: add InteractionHandle (satya164#905) chore: release 2.12.0 docs: add docs for ScrollPager (satya164#954) feat: add support for web in the example (satya164#948) feat: conditionally add scrollView on iOS instead of pager (satya164#952) feat: expose TabView and TabBar Props (satya164#941) fix: typos in comments fix: swipe between child and parent TabNavigator (satya164#881) chore: optimize images (satya164#946) docs: update Quick Start example with 0 index state (satya164#937) chore: upgrade expo to sdk 36 docs: use hooks for the example code docs: add info about usage with other libraries
PanGestureHandler
to become the gesture handler.PanGestureHandler
s to pass their refs up to the parent in order to use insimultaneousHandlers
andwaitFor
props.Motivation
Fixes #880
Test plan