How to determine element touched on touchend for a page with layers
Posted
by
Greg
on Stack Overflow
See other posts from Stack Overflow
or by Greg
Published on 2012-10-26T22:36:22Z
Indexed on
2012/10/26
23:00 UTC
Read the original article
Hit count: 154
JavaScript
|touch-event
I cannot supply a follow up question as of yet to Get the element under a touchend , so I am opening a new issue. I want to get the element under a touchend that is different from the touchstart, but my page has absolutely positioned elements, and the function document.elementFromPoint
keeps on returning my background element instead of every element in front of it. How do I get the actual element being touched?
© Stack Overflow or respective owner