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
Hi,
I'm trying to bind a tap/pan event on a parent element with children elements.
When I tap/pan a child element the event object only shows a 'target' but no 'currentTarget'.
I can not find the currentTarget (parent element) in the event object.
Is there a way to get it or is this a bug?
I also created 2 examples about that, the hammer v.1 works fine, but v.2 not.
Hi,
I'm trying to bind a tap/pan event on a parent element with children elements.
When I tap/pan a child element the event object only shows a 'target' but no 'currentTarget'.
I can not find the currentTarget (parent element) in the event object.
Is there a way to get it or is this a bug?
I also created 2 examples about that, the hammer v.1 works fine, but v.2 not.
check these out below, click the green area can not get the parent target if I use v.2:
v.1 http://codepen.io/ShawnKuan/pen/Aeocy
v.2 http://codepen.io/ShawnKuan/pen/paAHK
The text was updated successfully, but these errors were encountered: