inuyaksa / jquery.nicescroll

nicescroll plugin for jquery - scrollbars like iphone/ipad
https://nicescroll.areaaperta.com/
3.6k stars 1.67k forks source link

Can't scroll after part of content is changed on IE/Edge in 3.7.4+ #703

Open sryze opened 7 years ago

sryze commented 7 years ago

I upgraded from nicescroll 3.6.0 to 3.7.6 and noticed that in Internet Explorer and Edge when a piece of scrollable div content is animated with jQuery's slideDown() the content becomes clipped and can't be scrolled down.

I checked with different versions and it appears to be broken since version 3.7.4. In previous versions the scrollbar position and size is correctly recalculated and scrolling works just fine.

sryze commented 6 years ago

Actually it doesn't work in Chrome too. All versions above 3.6.8.

Am I missing something? Do I have to call resize() each time the content changes? That would be not nice, I would have to search for all places where I might possibly change content size. If so, why did it work in earlier versions?