Silder thumb pointer events fail to fire change on iOS
See original GitHub issueBug report
Sliders are temperamental on iOS when relying on the MDCSlider:change
event. The event only seems to fire if you lift your finger off the slider very carefully. If you move your finger away from the slider’s thumb (up or down) before removing your finger from the screen the event fails to fire
Steps to reproduce
- Go to https://codepen.io/simonziegler/pen/VwKrRNb on an iPhone or iPad
- Move the slider and then lift your finger very directly - you’ll see the “Value: 50” text change.
- Now try the same but slide your finger down after moving the thumb before releasing your touch. The event fails to fire.
Software | Version(s) |
---|---|
MDC Web | 8.0.0 |
Browser | Safari and others |
Operating System | iOS 14 |
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Howto get UISlider to respond to tap events on the track above ...
I think a better solution is just to subclass UISlider, and to re-implement - (BOOL)beginTrackingWithTouch:(UITouch *)touch ...
Read more >Pointer events - Web APIs | MDN
Pointer events are DOM events that are fired for a pointing device. They are designed to create a single DOM event model to...
Read more >Pointer Events - W3C
The user agent MUST fire a pointer event named pointerover when a pointing device is moved into the hit test boundaries of an...
Read more >Touch/pointer events test results - GitHub Pages
There is some oddity/bug in iOS 12.2, with mousedown , mouseup and click being fired twice when first tapping on the control. First...
Read more >Pointer events - Unity - Manual
PointerMoveEvent, Sent when the pointer changes state. ... button property returns an integer that identifies the mouse button pressed to trigger the event....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Filed https://bugs.webkit.org/show_bug.cgi?id=220196, I’ll look into using mouse/touch events instead on iOS to work around this =\
Hi Joy, I finally managed to move off v9 (jumping straight to v12) and confirm that this is resolved. Sorry for the delay!