-
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
bug(tabs) : ngIf changes tab order #5768
Comments
I think this is a know issue (: It has also been reported to Angular here: angular/angular#5363 |
Instead of using Additionally, we also added
|
You can change the tab order using just CSS.
|
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Short description of the problem:
When binding to a specific ion-tab to make it visible or not, the tab ordering is incorrect.
What behavior are you expecting?
I want to bind a specific tab to a variable on whether it should show or not. The tab bar does hide/show the tab. However when the tab is shown, it's at the end of the tab bar instead of where it is specified in the HTML.
HTML - note the invite tab position
TS
Screenshot:
Ionic Version: 2.x
Browser & Operating System: iOS / Android / Chrome
Run
ionic info
from terminal/cmd prompt:The text was updated successfully, but these errors were encountered: