0cf9505630
Summary: During development of an app I decided upon NavigationExperimental as I found it easily configurable with my Redux stores and make it work the way I wanted. One thing I found missing was the ability to decide if gestures were on or not for the card stack. In my case I need the gestures off as they conflict with what I am trying to do. This PR simply opens up the ability to turn the gestures for a CardStack off. Testing was completed via UI Explorer. An additional example replicating the existing one with the new setting set to false was created. To ensure nothing broke I tested both the original example and new example to ensure gestures worked (and didn't work) when expected. I did not see any unit tests around NavigationExperimental but if I simply missed them I would be more then happy to update/add any. Closes https://github.com/facebook/react-native/pull/9505 Differential Revision: D3749880 Pulled By: ericvicenti fbshipit-source-id: dfa42ff8b6c8b41490ad1efc931b364e47058243 |
||
---|---|---|
.. | ||
NavigationCardStack-NavigationHeader-Tabs-example.js | ||
NavigationCardStack-NoGesture-example.js | ||
NavigationCardStack-example.js | ||
NavigationExampleRow.js | ||
NavigationExperimentalExample.js | ||
NavigationTransitioner-AnimatedView-example.js | ||
NavigationTransitioner-AnimatedView-pager-example.js |