jquery-ui icon indicating copy to clipboard operation
jquery-ui copied to clipboard

The Slider range stops adjusting value when on developer tool device emulation mode

Open ap-northeast-0 opened this issue 1 year ago • 1 comments

Why does the Slider range stops adjusting when on developer tool device emulation mode. It adjusts when I click on it, but not when I drag on it. This can be replicated on the website's demo page. Just turn on the developer tool's device emulation. You will not be able to drag to adjust its value.

https://api.jqueryui.com/1.12/slider/

Is there a work around? It is not responding on my test device too.

ap-northeast-0 avatar Apr 03 '24 14:04 ap-northeast-0

Thanks for the report. It's not just device emulation mode, the same behavior can be observed on real mobile (I checked on an iPhone).

This seems to be a known issue: https://stackoverflow.com/questions/13808663/jquery-ui-slider-touch-drag-drop-support-on-mobile-devices

Since the issue is already in 1.12, given limited team resources it's not likely to be fixed by the UI team; see the project status at https://blog.jqueryui.com/2021/10/jquery-maintainers-update-and-transition-jquery-ui-as-part-of-overall-modernization-efforts/. PRs are welcome if they're not too complex and contain tests.

mgol avatar Apr 12 '24 13:04 mgol