NEW308937
Safari on iOS fires "pointerenter" with mouse pointerType on elements being removed.
https://bugs.webkit.org/show_bug.cgi?id=308937
Summary Safari on iOS fires "pointerenter" with mouse pointerType on elements being r...
Rob Snow
Reported 2026-03-01 15:00:44 PST
https://codepen.io/snowystinger/pen/OPXOOGO To reproduce, touch the "x", which will be removed when the checkbox is checked. When you have an element that is removed in the midst of an onChange, pointerLeave is fired with `pointerType` set to "mouse". It may be fired twice, with a preceding event with `pointerType` set to "touch". Depends on how far off to the right side you are. These are the possible leave event scenarios: * pointer leave: touch * pointer leave: mouse or just *pointer leave: mouse It also happens in our library when closing modals and removing the underlay. Possibly related to https://bugs.webkit.org/show_bug.cgi?id=214609
Attachments
Note You need to log in before you can comment on or make changes to this bug.