darul75 / angular-awesome-slider

:arrows_clockwise: Angular slider control directive
http://darul75.github.io/angular-awesome-slider/
MIT License
144 stars 63 forks source link

ng-show breaks label calculations #67

Closed j-w-miller closed 9 years ago

j-w-miller commented 9 years ago

Hello Julien, Came up with another issue. If the slider is wrapped with ng-hide/ng-show, then the slider is moved, the label will be displayed incorrectly. See the following based on your jsfiddle;

http://jsfiddle.net/8nb7xcr2/

Thanks, John

darul75 commented 9 years ago

nice one I like ;)

darul75 commented 9 years ago

will be available tonight or tomorrow, I keep you in touch

kehoej commented 9 years ago

I was seeing this issue. image

but ng-slider - v2.2.0 Fix this issue for me! image

Thanks!

j-w-miller commented 9 years ago

True enough

http://jsfiddle.net/5dv10xrg/

darul75 commented 9 years ago

well it is weird, I was trying to fix it but size are not defined or zero when slider not displayed...I have done some few changes, so glad to hear it works. I would like to put a list or websites using ng-slider what do you think ? it your online or corporate one or mobile app maybe ;) ?

j-w-miller commented 9 years ago

Yeah, I saw that (re size=0). Makes sense when it hidden, but would think it'd be updated to the proper size when displayed. Angular voodoo. Re websites, let me chat with my manager and I'll get back with you. regards.

j-w-miller commented 9 years ago

Sent an email to darul75@gmail.com regarding list of websites