voyager
voyager copied to clipboard
disposeNestedNavigators = false in TabNavigator not working
I initialized the TabNavigator like below, however the OnDispose still be called when switching tabs and ScreenModel has been reset when coming back to the Tab, If it's a bug or somehow I used in the wrong way
TabNavigator( tab = Tab, disposeNestedNavigators = false )
Ok, The problem is using BottomSheetNavigator in the Tab, it has own navigator and do not provider params to set disposeNestedNavigators=false.