-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to hide tabbar item in tabs #3058
Comments
|
Looks like v4 doesn't support it. PR is welcome (it should not be difficult to filter by icon and tabContent). But I really suggest you to change your nav hierarchy - move away Home if it is not part of tabbar. |
@jie any progress here? i have the same issue. |
@aksonov i have the same problem - how can i hide icon on menu any ideas? |
@kr0000 I use custom tabbar instead |
@jie did you extend react-navigation TabBarBottom? Do you mind posting the code for the custom tabbar you ended up using? |
@RobinJayaswal <Scene
key="main"
initial={true}
tabs={true}
showLabel={false}
tabBarComponent={TabBar}
tabBarStyle={styles.tabBarStyle}
tabBarPosition={"bottom"}
> TabBar is a React.Component |
Version
Expected behaviour
Actual behaviour
Steps to reproduce
In v3.0, I can create a scene without icon and tabContent, it will not show in tabbar,
but in v4.0.0, it will show an tab item with empty label and empty icon.
The text was updated successfully, but these errors were encountered: