Closed swingywc closed 6 years ago
Nope it's not a bug you should set translucent true too @swingywc
hi @yusufyildirim , thanks for your response. However, setting translucent to true didn't make any changes. The initial page still still show the green area but it will disappear when I go to another tab.
@yusufyildirim @yershalom What I want to achieve is the following:
My current solution is to hide the bottomTabs and show a customize bottomTabs component in every page.
Do you have any solution to achieve the above target? Appreciate for your kindly help.
@swingywc Yea I need something like that too but library is not flexible about the bottomTabs but as I understand, they have plans about that. Are you guys gonna create a flexible api like topBar @guyca?
I want to hide the bottomTabs completely but impossible
Try this:
await Navigation.setDefaultOptions({
bottomTabs: {
visible: false,
drawBehind: true
}
});
@yogevbd, Navigation.mergeOptions( 'bottomTabs', { bottomTabs: { visible: false, translucent: true, drawBehind: true } } )
doesn't work. "react-native-navigation": "^2.0.2493"
@yogevbd, doing so like you suggested in Navigation.setDefaultOptions
doesn't work neither
Yeah, I have the same problem...
Steps to Reproduce / Code Snippets / Screenshots
I have set
bottomTabs: { visible: false }
beforesetRoot
andregisterScreens
as following:My HomeScreen component didn't put any extra config as following:
The result is like below screenshots:
The tabBar didn't hide completely, with some space left at the bottom (green area).
NOTE: This should be a BUG, I have tried all solution provided inside RNN v2 guide.
Someone please help!
Environment
React Native Navigation version: 2.0.2286 React Native version: 0.52.0 Platform(s) (iOS, Android, or both?): IOS Device info (Simulator/Device? OS version? Debug/Release?): iPhone X simulator, iPhone 6, in Debug mode