Open
Description
Current behaviour
[Android ONLY] The application crashes when unmounting MaterialBottomTabNavigator
nested in the native stack navigator. I've created this issue here as it only happens when createMaterialBottomTabNavigator
is used. It works ok with BottomTabNavigation
from @react-navigation/bottom-tabs
.
Expected behaviour
Application should not crash.
How to reproduce?
Repro demo: https://github.com/maciekBudzinski/rnp-material-bottom-tabs-repro-issue
Preview
paper_repro.webm
What have you tried so far?
- I've tried to different versions of
react-native-screens
as suggested here: Android - "cannot remove child at index X" error on new architecture software-mansion/react-native-screens#2339. - When I render
MaterialBottomTabNavigator
withoutnative-stack
that wraps it, everything works ok.
Your Environment
software | version |
---|---|
ios | n/a |
android | API 33 Emulator |
react-native | 0.76.1 |
react-native-paper | 5.12.5 |
node | v21.7.3 |
npm or yarn | 1.22.22 |
expo sdk | n/a |