I’ve developed a web app which has some touch handling code built in. On touch down, it saves a reference to the changedTouches in the event. On touch up, it iterates through the changedTouches and tries to match them to a stored touch object from the touchDown event, signaling the end of a touch. It seems that the touch objects are not the same across the two events though, meaning I cannot match up the touches. The app works great in iOS, and in Safari and Chrome on the desktop with some touch event simulation. Just seems to be a problem in Chrome on Android.
Here’s an example:
jsFiddle
The order of touches in TouchLists is not guaranteed to remain consistent. You should be relying on the
touch.identifierinstead. Please see the touch events specification.