I fetch data from the database, depending on how much data there is, the scroll will be more or less long.
Sometimes it’s half the screen size, which means there is an empty space at the bottom of the page where I can’t swipe left/right to go to the other slide, coz it’s not part of the slide height.
That’s why I really need to get the height of the slide dynamically,there must be a way to do the equivalent of jquery $(‘div’).height()
Sometimes it’s half the screen size, which means there is an empty space at the bottom of the page where I can’t swipe left/right to go to the other slide, coz it’s not part of the slide height.
I think, this is wrong, I am pretty sure you can set in css the height of the div for being at least 100%, and if it is more you can do a scroll or what you want, or by using ion-pane.
(I did something like this for my app, so I know you can do it with simply html and css)
are exactly my problem.
Except that the first solution uses jquery to get the height.
And the second one hides the pages during transitions, which kills the purpose of a slidebox.
Again, the problem is that if I have 3 slides, each with unknown height (can’t be defined with css thus), they will all take the height of the biggest slide. (because the whole ion-slide-box will take the biggest height)