You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I looked into this some more, and it is because the button's display property is taking precedence over the showWhen/hideWhen classes. As a temporary fix, you should be able to add the following css to your app.core.scss file (or any other sass file that comes after the ionic imports):
// Applied by the showWhen directive
.hidden-show-when {
display: none !important;
}
// Applied by the hideWhen directive
.hidden-hide-when {
display: none !important;
}
I'll work on fixing this in the framework. Thanks for the issue!
showWhen/hideWhen is not working.
`
<ion-navbar *navbar primary hideBackButton>
`
Version 2 Beta 6
Cordova CLI: 6.0.0
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.6
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
ios-deploy version: 1.8.6
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v5.1.0
Xcode version: Xcode 7.3 Build version 7D175
The text was updated successfully, but these errors were encountered: