Skip to content
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

Disable Swipe Gestures in Android (Scene) #3062

Closed
RamkumarBPE opened this issue May 31, 2018 · 1 comment
Closed

Disable Swipe Gestures in Android (Scene) #3062

RamkumarBPE opened this issue May 31, 2018 · 1 comment

Comments

@RamkumarBPE
Copy link

Version

Tell us which versions you are using:

  • react-native-router-flux ^4.0.0-beta.24 (v3 is not supported)
  • react-native v0.53.0

Expected behaviour

Need to lock the Swipe Gestures, inside a scene in a tab.

Actual behaviour

Could not able to lock the swipe gesture

I have tried panHandlers={null}, SwipeGesturesEnabled={false}, SwipeGestureEnabled={false}. I could not able to disable the swipe gesture in Android.

@RamkumarBPE RamkumarBPE changed the title Disable Swipe Gestures in Android Disable Swipe Gestures in Android (Scene) May 31, 2018
@delia-m
Copy link

delia-m commented Jun 11, 2018

try swipeEnabled={false} this works for me.

https://github.com/aksonov/react-native-router-flux/blob/master/docs/API.md#tabs-tabs-or-scene-tabs

@aksonov aksonov closed this as completed Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants