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
event.composedPath() is missing the composed elements within shadow root on tap event on touch devices. Native events and atleast down and up gesture events work as expected.
Description
event.composedPath()
is missing the composed elements within shadow root ontap
event on touch devices. Native events and atleastdown
andup
gesture events work as expected.Looks to me like the problem is using a
Touch
object frome.changesTouches[0]
as asourceEvent
instead of the original composed event.Live Demo
http://jsbin.com/pagitax/edit?output
Steps to Reproduce
composedPath()
in consoleExpected Results
Path should start with:
["DIV", "#document-fragment", "MY-ELEMENT", "BODY", "HTML"...]
Actual Results
Path actually starts with:
["MY-ELEMENT", "BODY", "HTML"...]
Verified with
Versions
The text was updated successfully, but these errors were encountered: