hideWhen="landscape" doesn't work


#1

I’m using ionic 2.3.0 hideWhen
<ion-fab hideWhen="landscape" bottom right> <button ion-fab> <ion-icon name="add"></ion-icon> </button> </ion-fab>


#2

Anyone find yet a solution to this?


#3

If you don’t get a better answer, try setting the hideWhen for another element but the ion-fab, maybe wrap it inside a <div> or something. Does hideWhen="landscape" work for divs like in the example?


#4

@Sujan12 I finally get it to work.But I downgraded to 2.1.0. On 2.3.0 & 2.2.0 it doesn’t work