How to find out the actual event.target of touchmove javascript event?

That’s certainly not how event targets are supposed to work. Yet another DOM inconsistency that we’re probably all now stuck with forever, due to a vendor coming up with extensions behind closed doors without any review.

Use document.elementFromPoint to work around it.

document.elementFromPoint(event.clientX, event.clientY);

Leave a Comment