lionbars icon indicating copy to clipboard operation
lionbars copied to clipboard

Problem with dynamic element size

Open stalniy opened this issue 12 years ago • 3 comments

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

stalniy avatar Oct 12 '12 19:10 stalniy

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 avatar May 17 '13 13:05 JensRantil

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...

JensRantil avatar May 17 '13 13:05 JensRantil

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

stalniy avatar May 17 '13 14:05 stalniy