-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
Issue(tabs): Spacing problem with 5 tabs on iOS #6056
Comments
Just adding my 2 cents. Was able to replicate this problem with 5 tabs on device iPhone 5s and also on iPhone 5s simulator. Seems the .tab-button style (in app.ios.css) has a max-width: 240px; causing this behavior. Removing this max-width for iPhone 5s seems to solve the problem. The max-width was added probably with a reason (what is the reason?) so this is not a fix. Should be investigated further, but could point you in the (hopefully) right direction. |
@brandyscarney does that sound like a reasonable fix? |
@dylanvdmerwe I'm not seeing the problem resolved by removing the
In your |
Fixed for |
might want to adjust the tab padding as well since it ellipses the tab titles when it gets that small when it doesn't have to. |
@mypark could you create a new issue for this please and tag me in it? 😄 |
ok, created issue #6679 |
Short description of the problem:
When adding more than 4 tabs on iOS the spacing of tabs goes over the screen.
What behavior are you expecting?
On iOS, the maximum number of tabs that can be added are 5. At the very least, 5 tabs should fix on an iOS device.
iOS (Ionic 2 with 5 tabs)
iOS (Native with 5 tabs)
Android
Which Ionic Version? 2.x
Run
ionic info
from terminal/cmd prompt: (paste output below)Cordova CLI: 6.1.1
Ionic Framework Version: 2.0.0-beta.3
Ionic CLI Version: 2.0.0-beta.24
Ionic App Lib Version: 2.0.0-beta.14
OS:
Node Version: v5.7.0
The text was updated successfully, but these errors were encountered: