ng-scrollbars icon indicating copy to clipboard operation
ng-scrollbars copied to clipboard

Setting Height Dynamically

Open davidmittelberg opened this issue 9 years ago • 6 comments
trafficstars

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 avatar Dec 07 '15 16:12 davidmittelberg

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 avatar Dec 07 '15 18:12 davidmittelberg

Resolved.

davidmittelberg avatar Dec 07 '15 19:12 davidmittelberg

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

iominh avatar Dec 07 '15 19:12 iominh

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

jmls avatar Feb 09 '16 09:02 jmls

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

guylhermetabosa avatar Jul 20 '16 22:07 guylhermetabosa

How did you solve this?

dehvmartins avatar Jul 22 '16 03:07 dehvmartins