Hacker News new | ask | show | jobs
by hjjjjjje 1516 days ago
Dragging the sliders doesn't work when viewing on a mobile device.
2 comments

Works fine on my iphone 12 with ios 14.5.1
Extra anecdata in case the creator is reading: sliders failed for me on Android Chrome this morning. I made no effort to check if this was due to a script failing to load or some other bug.
Same here, on Android Chrome.

The JS script that the author is using relies on listening to both mousedown and touchstart events, etc. It isn't clear to me why Android has a problem with that, but I wonder if switching to listening only for pointer events [1] would fix things.

[1] https://developer.mozilla.org/en-US/docs/Web/API/Pointer_eve...