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
When showWhen or hideWhen are used in addition to the [hidden]="" directive the component will be displayed even on the platform that it should remain hidden on.
For example, if hideWhen="ios" is used on a FAB button the FAB will not initially display on iOS. But if I add [hidden]="showFAB" to the button and then toggle the showFAB value using a button on iOS the FAB will be shown once the showFAB value is toggled back to true.
What behavior are you expecting?
A component with either showWhen or hideWhen should ignore the [hidden]="" directive so it won't be shown on the wrong platform yet still allows the component to be toggled on the correct platform.
Which Ionic Version? 2.x
The text was updated successfully, but these errors were encountered:
Each directive applies a different class so they won’t remove each
other if they’re on the same element. If either class is applied the
element won’t display.
closes#5836
Short description of the problem:
When showWhen or hideWhen are used in addition to the [hidden]="" directive the component will be displayed even on the platform that it should remain hidden on.
For example, if hideWhen="ios" is used on a FAB button the FAB will not initially display on iOS. But if I add [hidden]="showFAB" to the button and then toggle the showFAB value using a button on iOS the FAB will be shown once the showFAB value is toggled back to true.
What behavior are you expecting?
A component with either showWhen or hideWhen should ignore the [hidden]="" directive so it won't be shown on the wrong platform yet still allows the component to be toggled on the correct platform.
Which Ionic Version? 2.x
The text was updated successfully, but these errors were encountered: