Ion-content dynamic scroll



I think I am misunderstanding something here, basically I would like to have an ion-content scroll=“myVar” with myVar being a boolean I can change in my controller. But I can’t get it working. Is there a way to do this ?

Thank you for your help

here is a codepen for better understanding:


Ha ok, found some answers here and here

would be nice to have this feature though,

any idea on how to hack this with the current ionic release ? :slight_smile: