Skip to content
This repository was archived by the owner on Feb 25, 2020. It is now read-only.

Conversation

@osdnk
Copy link
Member

@osdnk osdnk commented May 13, 2019

Motivation

On very fast close drawer and then clicking "open drawer" no action happened
The reason was that value was badly calculated bc it has considered not position and velocity of prev gesture.

Changes

On changing the value manually I reset gestureX. It led to not passing condition in node passed to this.transitionTo

@satya164 satya164 merged commit 758b726 into master May 13, 2019
@satya164 satya164 deleted the @osdnk/reset-gesture-x-on-manual-setting branch May 13, 2019 17:43
satya164 added a commit to satya164/react-native-tab-view that referenced this pull request May 15, 2019
The gesture amount is used to calculate the next index which can interfere with manual navigation.

Similar to react-navigation/drawer#70

Co-authored-by: osdnk <micosa97@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants