6.0.0-next.0 (2021-03-09)
Bug Fixes
- add missing helper types in descriptors (21a1154)
- drop usage of Dimensions in favor of metrics from safe-area-context (12b893d)
- enable detachInactiveScreens by default on web for better a11y (4954d6a)
- fix drawer and bottom tabs not being visible on web. closes #9225 (b735de1)
- fix drawer screen content not being interactable on Android (865d8b3)
- fix initial metrics on server (69d333f)
- fix pointerEvents in ResourceSavingScene (af53dd6), closes #9241 #9242
- show a missing icon symbol instead of empty area in bottom tab bar (2bc4882)
Code Refactoring
- don't use deprecated APIs from react-native-safe-area-context (ddf27bf)
- drop support for tabBarVisible option (a97a43a)
- move
tabBarOptions
tooptions
for bottom tabs (f7ff1ad)
Features
- initial implementation of @react-navigation/elements (07ba7a9)
- move lazy to options for bottom-tabs and drawer (068a9a4)
BREAKING CHANGES
- The lazy prop now can be configured per screen instead of for the whole navigator. To keep previous behavior, you can specify it in screenOptions
- This commit moves options from
tabBarOptions
to regularoptions
in order to reduce confusion between the two, as well as to make it more flexible to configure the tab bar based on a per screen basis. - We now require newer versions of safe area context library.
- We need to add support for specifying style for tab bar in options to support the use cases which need this.