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
{{ message }}
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.
Is there a chance to initialize a touchList in Chrome? new TouchList() doen't work. I've got an error: Illegal Constructor. document.createTouchList() is also not working. There i've got an Uncaught ReferenceError...
I am using Chrome v.54
The text was updated successfully, but these errors were encountered:
document.createTouchList() works, but only if Chrome is currently running on a touchscreen device/has touch events enabled. new TouchList() throws as illegal constructor there too, though.
@RByers is there any change/clarification needed in the spec for this, do you think?
Chrome creates a TouchList from an array when passed in to a TouchEvent via the TouchEventInit dictionary for touches, changeTouches, and targetTouches. At least it does on v63.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is there a chance to initialize a touchList in Chrome?
new TouchList()
doen't work. I've got an error: Illegal Constructor.document.createTouchList()
is also not working. There i've got an Uncaught ReferenceError...I am using Chrome v.54
The text was updated successfully, but these errors were encountered: