hammerjs/jquery.hammer.js

e.target is always top level element.

Opened this issue · 1 comments

There was a related pull request #39 that was closed with 0 discussion. Hammer handles this correctly it appears that the jquery plugin has a bug.

This is because the jQuery plugin uses the element from the Manager instance to trigger the event. This is always the top level element, regardless of where the event originated.

Look into domEvents option for the Manager instance if you want to bubble up events and have access to the target at all.