julianlam / Scrollable

Mootools class that allows elements with a fixed height be scrollable via mousewheel and via right-hand scrollbar
17 stars 5 forks source link

Adding or Destroying elements does not reposition the scrollbar #1

Open julianlam opened 12 years ago

julianlam commented 12 years ago

The scroller itself handles the changed container size properly, but the position of the slider is not re-calculated to take the new content into account.

Relevent jsFiddle: http://jsfiddle.net/pcu9M/1/