react-native-router-flux: Swipe gestures break navigation
Not sure if this is related to https://github.com/aksonov/react-native-router-flux/issues/176, since he reports a 3-50% success rate, whereas this seems to reproduce 100% of the time.
When I navigate by clicking the different links, it works fine. However, if I swipe back then try to click on a link, I get the following error:
No current router is set
Actions.route
Actions.js @ 44:0
Object._Actions2.default.(anonymous
Router.js @ 138:0
...
I cloned the repo and loaded up the Example project. Here’s a .gif of the behavior:
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 15 (12 by maintainers)
Commits related to this issue
- V4 announcement, v3 is obsolete now; closes #1,#2,#3,#4,#5,#6,#7,#8,#9,#10,#11,#12,#13,#14,#15,#16,#17,#18,#19,#20,#21,#22,#23,#24,#25,#26,#27,#28,#29,#30,#31,#32,#33,#34,#35,#36,#37,#38,#39,#40,#41,#... — committed to aksonov/react-native-router-flux by aksonov 7 years ago
- V4 docs; closes #1,closes #2,closes #3,closes #4,closes #5,closes #6,closes #7,closes #8,closes #9,closes #10,closes #11,closes #12,closes #13,closes #14,closes #15,closes #16,closes #17,closes #18,cl... — committed to aksonov/react-native-router-flux by aksonov 7 years ago
@kesha-antonov I don’t have a solution for this, but we use this workaround to disable the swipe gestures for the scene configs:
Navigator.SceneConfigs.FloatFromBottom.gestures = null