Commit Graph

13 Commits

Author SHA1 Message Date
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