iominh / ng-scrollbars

Angular wrapper of Malihu's jQuery Custom Scrollbar
http://iominh.github.io/ng-scrollbars/
MIT License
202 stars 62 forks source link

Setting Height Dynamically #16

Open davidmittelberg opened 8 years ago

davidmittelberg commented 8 years ago

Hey, is there a way I can set the height dynamically when the window resizes? I am running into issues with the scrollbars object updating.

davidmittelberg commented 8 years ago

More specifically, I am trying to capture the height of an element and then set the element using ng-scrollbars with that height on init(); For some reason, even when I have the value captured, I am unable to pass that value into the scrollbars.setHeight : int property.

davidmittelberg commented 8 years ago

Resolved.

iominh commented 8 years ago

Ah hmm, apologies for my delay, how did you resolve that issue? I was going to take a look later tonight

jmls commented 8 years ago

@Dmidify how did you manage to resize the scrollbar height ?

guylhermetabosa commented 8 years ago

@Dmidify How did you solve this? I'm facing the same scenario.

dehvmartins commented 8 years ago

How did you solve this?