mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-25 01:28:16 +00:00
* Fixes default drawerWidth to match material ui patterns. Previously: calculated based on device width regardless of orientation and did not recalculate when orientation changed. Now: calculates based on minimum of device height/width, remains constant and guaranteed to always fit screen regardless of orientation. This is the expected behavior based on observing Google apps (e.g. Gmail). This is also better than recalculating on every orientation change, which would result in variable width drawers and awkward empty space when in landscape in most cases. * Remove console.log
Navigation Playground Example
A playground for experimenting with react-navigation in a pure-JS React Native app.
Usage
Please see the Contributors Guide for instructions on running these example apps.
You can view this example application directly on your phone by visiting our expo demo.