Charuru / lionbars

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

Problem with dynamic element size #3

Open stalniy opened 12 years ago

stalniy commented 12 years ago

Set width to 30% for some dom element. Apply lionbars to this element. Try to resize browser window.

Expected result: Dom element width is resized

Actual result: Dom element width constantly equals to initialized value

JensRantil commented 11 years ago

Is there are way to work around this issue and reapply the height calculation? I'm considering using lionbars with AngularJS, which dynamically populates my scrolled area with items.

JensRantil commented 11 years ago

As a workaround, antiscroll seems to handle this correctly:

size of container can be dynamically adjusted and scrollbars will adapt.

I'm just not that fond of its magic CSS classes I need to use...

stalniy commented 11 years ago

I found pretty cool plugin for custom scrollbars: http://manos.malihu.gr/jquery-custom-content-scroller/