malsup / cycle2

2nd gen cycling
899 stars 236 forks source link

Inline height calculated after cycle is destroyed #724

Closed kedramon closed 2 years ago

kedramon commented 9 years ago

Initial state: There is a div (holder) with a child divs, each contains a table, holder div has no height.

For mobile size screen the cycle is initialized for holder with param {autoHeight: 'container'}, holder has inline height calculated, which is correct. After resizing back to desktop size, cycle is destroyed, all atributes is cleared for holder, but then some timer function is called and for holder div inline height is calculated again, which is incorrect.