mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-25 01:28:16 +00:00
* Fix default width of drawer Current implementation is simplified / broken. - The drawerWidth doesn't work for tablets, the drawer becomes massively large - Header size changes (and thus drawer width changes) in landscape mode on iOS are not accounted for - An incorrect 64px header size is used for iOS (this includes the status bar height that doesn't belong in the calculation) Implement a default drawerWidth as a function that follows the Material Design spec closer: - Screen width - header height - Use the correct iOS app bar height in portrait and landscape mode - Drawer max height of 280 on mobile and 320 on tablet * Update snapshot for drawer width change