Charuru / lionbars

A free to use, lightweight jQuery plugin that makes scrollbars look like in OSX Lion.
148 stars 61 forks source link

Scrollbars always show after ajax update with less content #16

Open RealSollyM opened 9 years ago

RealSollyM commented 9 years ago

If initially the content was shorter than the height, then the scrollbars are hidden (perfect), then update with longer content and the scrollbars shows (perfect). But the opposite is just not true.

Steps to Reproduce: Set the height to be fixed (300px in my case), add content that is longer and the scrollbars will show. Then update the content to be less than the height.

Expected: scrollbars to hide.

Actual: scrollbars remain showing.

Attempts: I tried to call the Update and mainLoop functions but nothing helps.