malsup / cycle2

2nd gen cycling
899 stars 236 forks source link

Varying slide heights not working with body scrolling #693

Open dantastical opened 9 years ago

dantastical commented 9 years ago

I love the plugin, I'm currently using it for slides with text and pictures, sometimes quite a lot of text and pictures, so it needs to overflow. If I set overflow:auto to the slide DIV, it works well, but if I leave it to the whole page then it doesn't update on slide change, and often cuts off a lot of text/images on subsequent slides. I'd really prefer the overflow to be for the normal page, any ideas how to do this? Just to be clear, I have tried

data-cycle-auto-height=container

but that only seems to break the animation whilst setting every slide to the size of the biggest. Thanks for any assistance :)