But I already knew how to send it to the view, but I really need it in the controller.
Coz I need to set the height dynamically of ion-slide-box on slide change.
I also noticed something wrong with the directive… It gives me the height of the slide before data are loaded into it.
I need the height after the slide is filled with the data I fetch from firebase. That makes it all more complicated I guess…
Maybe I am wrong on your problem, but you only have to set your slide-box with a fixed height (like 100%) and you put scrollable div in it for your content, no matter the length of it… that’s it ! No javascript, no jquery.
Thanks for taking the time once again.
I tried your method with inside , but then the whole scrolling doesn’t work anymore for reasons i don’t understand…
On IOS in ionic serve, the whole content is getting back to its initial position when I release the dragging down (scrolling down). I can scroll as long as I maintained the click down, but when I stop maintaing the scrolling, it bounces back to the top.
And then on android, I just can’t scroll at all with this… all of this is so weird.