Skip to content
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

Some Tabs icon and label disappear when tab array is more than 8 #121

Open
Akash-T2S opened this issue Feb 28, 2019 · 3 comments
Open

Some Tabs icon and label disappear when tab array is more than 8 #121

Akash-T2S opened this issue Feb 28, 2019 · 3 comments

Comments

@Akash-T2S
Copy link

Akash-T2S commented Feb 28, 2019

What kind of Issue is this?

Bug Report
Question / Problem Problem
Discussion / Feature Request

Actual behavior

  • What is happening?
  • Is it happening on Android, iOS or both?
  • Could you identify sections in your code which triggers this behavior?

Expected behavior

  • What did you expect to happen?
    expect all 8 tab icon and label fit in that bottomNavigation

Additional resources

  • Provide a way to reproduce the issue. The best way is to re-create the bug using Snack.
  • Add Code Snippets which cause your issue.
  • Add a screenshot if it helps to show your issue.

Environment

software version
react-native-material-bottom-navigation
react-native or expo
node
npm or yarn
@Akash-T2S

This comment has been minimized.

@sangeethkumarv
Copy link

I had the same problem when numbers of tabs are more than 6, it does not fit into the screen. Should have the scrollable tab behavior. Is there any solution for this?

Basically, we will need scrollview when a number of tabs didn't fit into the screen.

@timomeh
Copy link
Owner

timomeh commented Mar 1, 2019

First of all, I have to notice @Akash-T2S that you didn't fill out the issue template. Please replace the placeholder bullet-points with your answers.

I want to refer you to the material guidelines (https://material.io/design/components/bottom-navigation.html#behavior) which state:

Don’t use more than five destinations [meaning: tabs inside the bottom navigation]. For those cases, try tabs or a navigation drawer.

Bottom navigation bar destinations have fixed positions. They don’t scroll or move horizontally.

I would advise you to follow those guidelines. These guidelines were written to make your UIs better. Breaking them will cause bad user experience.

However, if someone opens a PR which adds a horizontal scrollview into the BottomNavigation, I will take a look at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants