expo / ex-navigator

Route-centric navigation built on top of React Native's Navigator
MIT License
522 stars 68 forks source link

Missing Swipe Jump SceneConfigs #62

Open cancan101 opened 8 years ago

cancan101 commented 8 years ago

From ReactNative, see.

Allows for cool interactions like in: https://github.com/facebook/react-native/blob/62e8ddc20561a39c3c839ab9f83c95493df117c0/Examples/UIExplorer/Navigator/JumpingNavSample.js.

ide commented 8 years ago

The recommended approach is to use RN's own Navigator.SceneConfigs.XX or provide your own scene config (usually by deep cloning an existing config and modifying it as needed). Does this work for you?

cancan101 commented 8 years ago

Any reason then to have some of the SceneConfigs here: https://github.com/exponentjs/ex-navigator/blob/master/ExSceneConfigs.js

Would it make sense to import from RN into this module?

ide commented 8 years ago

ExSceneConfigs are slightly modified versions. You should import from Navigator if you want their configs.