You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was my understanding that implicit pointer capture was meant to mimic the behavior of touch events. However with touch events we do continue to fire touch events at the implicitly captured removed node: demo.
The text was updated successfully, but these errors were encountered:
I don't think anything defines what the behavior should be for touch events though.
Tested on Android and Chrome fires some pointermoves (that 'some' part is really confusing) and then stops firing them but keeps firing touchmoves. Firefox just fires the initial event and stops there.
I wonder what Safari does.
I've updated the test to also listen for events on the ancestor elements of the removed target. This allowed my to verify that after the removal chrome and safari fire pointer events at the current hit test target. Further, the implicit capture is gone so the target can change as the touch moves over other elements.
Tested on Android and Chrome fires some pointermoves (that 'some' part is really confusing) and then stops firing them
Strange in my testing there were no pointermoves fired to the removed target. Pointermove is only fired at the parent.
but keeps firing touchmoves. Firefox just fires the initial event and stops there. I wonder what Safari does.
I tested Safari and found it to be consistent with Chrome.
I retested:
I see different behavior on Chrome/Android depending on the device.
On both devices pointerdown has target "target".
But on one device pointermove targets after that are "container", and other other one pointermove targets are "target".
Chrome on both devices is 117.0.5938.153. The one which has "container" as the target, as Android 13, the other one has Android 12.
But I can't seem to reproduce anymore the pointermoves stop firing but not touchmoves, though the demo page also changed.
We trigger implicit release of pointer capture when an element is no longer connected to the DOM:
It was my understanding that implicit pointer capture was meant to mimic the behavior of touch events. However with touch events we do continue to fire touch events at the implicitly captured removed node: demo.
The text was updated successfully, but these errors were encountered: