我正在尝试在抽屉打开时滑动底部的TabBar,并且它仅滑动页眉
抽屉:
const SilderNavigator = createDrawerNavigator({
Home : HomeStackNavigator ,
},
{
contentComponent : MenuContentComponent ,
drawerType : "slide" ,
})
TabBar:
const BottomBarNavigation = createBottomTabNavigator({
home: SilderNavigator,
notification: NotificaStack
... })
StackNavigator将导航器包装在一起:
const BaseNavigator = createStackNavigator({
BottomBarNavigation : BottomBarNavigation,
Details : {screen : Details, ...}
... })