371 Commits

Author SHA1 Message Date
Brent Vatne
36893fd572 Default keyboardDismissMode to on-drag for drawer, also make it configurable 2019-08-18 23:34:44 +05:30
Brent Vatne
c8d49948b1 Handle back button properly when the drawer is open 2019-08-18 23:34:42 +05:30
Eric Vicenti
ae4c0b8a35 move to react-nav core and native deps 2019-08-18 23:34:40 +05:30
Brent Vatne
416047c109 Pass through entire drawer config object to router 2019-08-18 23:34:38 +05:30
Brent Vatne
f916b75ece Vendor DrawerLayout, add DrawerGestureContext 2019-08-18 23:34:37 +05:30
Brent Vatne
4128e248d3 Support multiple actions in one tick and fire them in the order that they arrive 2019-08-18 23:34:36 +05:30
Brent Vatne
ebe5fff9ec Pass through minSwipeDistance 2019-08-18 23:34:35 +05:30
Brent Vatne
eef5aafb86 Fix issue from rebase and introduce gesture interaction example 2019-08-18 23:34:34 +05:30
Brent Vatne
c82c8ee34b Fix tests 2019-08-18 23:34:31 +05:30
Brett Higgins
f578b5b418 Use react-native-gesture-handler/DrawerLayout 2019-08-18 23:34:30 +05:30
Sean Morton
1cedbcf3ba Don't use a reset sub-action for drawer items 2019-08-18 23:34:29 +05:30
Brent Vatne
5b34b7221a Add initialRouteParams to drawer 2019-08-18 23:34:27 +05:30
Brent Vatne
ae60faa978 Fix typo, release 0.4.2 2019-08-18 23:34:26 +05:30
Brent Vatne
c09e89a064 Single source of truth for drawer open state: the view 2019-08-18 23:34:24 +05:30
Brent Vatne
3990ea39c5 Fix drawer closing behavior 2019-08-18 23:34:23 +05:30
Brent Vatne
f782b1e722 Fix lint and tests 2019-08-18 23:34:20 +05:30
Brent Vatne
b1020d2186 Stop depending on internal functions in react-navigation 2019-08-18 23:34:19 +05:30
Brent Vatne
ccf76e98cc Use SceneView instead of DrawerScreen directly 2019-08-18 23:34:18 +05:30
Solomon Hawk
e5ae16dbed Fix bug in DrawerView
When attempting to navigate to a drawer item while the drawer's state
is 'opening' or 'closing' results in a state where the underlying navigator's
screen correctly changes but the drawer fails to automatically dismiss itself.

Instead, we should allow the drawer to respond to updates and change it's state
even if it's in the middle of 'opening' or 'closing'.
2019-08-18 23:34:16 +05:30
Brent Vatne
bac2c7b186 Migrate tests to this repo 2019-08-18 23:34:15 +05:30
Brent Vatne
3b454fc19b Initial commit after extracting from react-navigation 2019-08-18 23:34:14 +05:30