Dynamically change ion-content style


#1

Hi,

My requirements are a list of clickable/tapable items, when user select an item, a panel appears at the bottom of the screen. Even if user select the last item of a long list, it must be displayed as well as the bottom panel. That’s why, I think I have to play with content height.

So, I’m trying to change ion-content height with ng-style, but it doesn’t work when model updates.
basically :

   <ion-content ng-style="mystyle">
       ...
   </ion-content>

ion-content takes mystyle parameter at start. But when mystyle change it doesn’t apply it.
Any advise on this ? May be a smarter way to do this ?

Thanks in advance.