angular-ui / ui-slider

jQuery UI Slider for AngularJS
https://htmlpreview.github.io/?https://github.com/angular-ui/ui-slider/master/demo/index.html
MIT License
265 stars 176 forks source link

slider is not working on mobile #84

Closed akocmark closed 9 years ago

akocmark commented 9 years ago

the slider widget doesn't work on my mobile, which is samsung grand duo. Do you know why is it now working on mobile? thanks!

Marcosdg3 commented 9 years ago

Came across this same issue on mobile, pressing on the slider bar works but not the press and drag touch events.

PowerKiKi commented 9 years ago

Did you notice the same behavior with plain jQuery version ?

Marcosdg3 commented 9 years ago

I hadn't checked before until now and yes I just duplicated here https://jqueryui.com/slider/. Just read around and found out that draggable doesn't work on mobile devices (http://stackoverflow.com/questions/9547613/jquery-ui-draggable-not-working-on-ios-devices), but that there are some hacks for it.

patricklewis commented 9 years ago

https://github.com/furf/jquery-ui-touch-punch provides a hack/fix for jQuery UI touch events on mobile; it fixed my problem of sliders not working on iOS Safari.

Marcosdg3 commented 9 years ago

Thanks for the info @patricklewis! I ended up switching and using https://github.com/rzajac/angularjs-slider for our solution.

PowerKiKi commented 9 years ago

Closing since there seems to be a workaround