wix / react-native-navigation

A complete native navigation solution for React Native
https://wix.github.io/react-native-navigation/
MIT License
13.03k stars 2.67k forks source link

Bottom Tabs navigation still visible with new version #7722

Closed PrudhviBanki closed 1 year ago

PrudhviBanki commented 1 year ago

Still showing in bottom tabs help me on this issue Navigation.setDefaultOptions({ layout :{ backgroundColor: 'transparent', }, animations: { setRoot: { waitForRender: true }, showModal: { waitForRender: true }, push: { waitForRender: true } }, navigationBar:{ backgroundColor :colors.white, color :colors.white }, statusBar: { style: 'light', backgroundColor :colors.baseColor }, layout: { orientation: ['portrait'] }, bottomTabs: { titleDisplayMode: 'alwaysShow', // elevation: 80, // backgroundColor :'transparent', visible :true, }, topBar: { title: { color: colors.primary, fontFamily: fonts.mainSemiBold, fontSize: widths.by17, animate: true, alignment: 'center', } },

}); Navigation.setRoot({ root: { bottomTabs: { visible:false, animated: false, children: [{ stack: { children: [{ component: { name: screens.DASHBOARD, id: screens.DASHBOARD } }], options: { visible:false, } } }, { stack: { children: [{ component: { name: screens.CHARGING_POINTS, id: screens.CHARGING_POINTS } }], options: { visible:false, } } }, { stack: { children: [{ component: { name: screens.CHARGE_QRCODEVIEW, id: screens.CHARGE_QRCODEVIEW } }], options: { visible:false, } } }, { stack: { children: [{ component: { name: screens.BOOKINGS, id: screens.BOOKINGS } }], options: { visible:false, } } }, { stack: { children: [{ component: { name: screens.SESSIONS, id: screens.SESSIONS } }], options: { visible:false, } } }, ], options: { bottomTabs: { visible:false, animate: false, currentTabIndex: tabIndex, backgroundColor :colors.white, titleDisplayMode: 'alwaysShow', tabsAttachMode: 'onSwitchToTab', }, } } } })

github-actions[bot] commented 1 year ago

We use the issue tracker exclusively for bug reports and feature requests. This issue appears to be a general usage or support question. Instead, please ask a question on Stack Overflow with the wix-react-native-navigation tag or on Discord.