malsup / cycle2

2nd gen cycling
899 stars 238 forks source link

Auto-height with dynamic content #764

Open hwdavies opened 8 years ago

hwdavies commented 8 years ago

I am using the auto-height feature (data-cycle-auto-height=container). This is great and it resizes the cycle wrapper to the height of each slide. However, I have a show/hide element inside one of my slides and the Cycle's height does not adapt when toggling this content.

Can I trigger the auto-height functionality on my show/hide href?