- Breaking: Dropped support for IE 11
- Fix: Use
event.targetin cases where the target has been removed from the DOM (#17). Thanks @sgparrish.
- Fix broken urls to hammerjs in examples.
- Switched from
hammerjsto@egjs/hammerjsbecause the former is not actively maintained. Thanks @mojoaxel. - Change from having hammemrjs as dependency of this library to having it
as
peerDependency. Thanks @mojoaxel.
- Add ESM support. Thanks @mojoaxel.
- Upgraded to
hammerjs@2.0.8. Thanks @mojoaxel.
- Fixed #6: stopPropagation not binding to the original event.
- Made
propagating-hammerjsmore robust against removing/attaching a DOM element in the DOM whilst executing a touch event of the DOM element itself.
- Upgraded to Hammer.js v2.0.6.
- Replaced usage of
Hammer.extendwithHammer.assign.
- Replaced usage of
- Fixed not working in case of multiple instances of propagating-hammerjs on the same DOM element. Thanks @jsdw.
- Fixed
dragendevents not being emitted correctly in case of multiple nested handlers.
- Fixed not being able to overload options when having overridden the global Hammer instance.
- Fixed not being able to handle both a tap and double tap.
- Extended the option
preventDefaultwith values'mouse','touch', and'pen'to prevent default behavior for a specific type of device.
- Created an option
preventDefaultto enforce preventing the default browser behavior. - Fixed propagation not being handled correctly when the mouse pointer is being dragged outside the parent div.
- Fixed #2, the
emitmethod not working.
- Removed using top level
this, attachingpropagatingimmediately towindow instead.
- Added an event property
event.firstTarget, always containing the element where a gesture started. - Fixed the
hammer.inputevent blocking the emit of real events. - Fixed
panendnot being emitted whenpanwas used too.
- Fixed the module not working via commonjs.
- Added support for applying
propagatingto the Hammer constructor.
- Initial, fully functional release.