propagating-hammerjs icon indicating copy to clipboard operation
propagating-hammerjs copied to clipboard

needs domEvents:true? but this causes issues

Open annam opened this issue 7 years ago • 1 comments

Hi,

is the domEvents setting required to be set to true? i have been unable to get propagating to work without this setting (no events being triggered at all..)

but once I set this setting to true other issues arise from the fact that I hammer() nested elements and if an event gets triggered on a child and a parent is also hammer()ed, the event gets triggered twice..

perhaps you have any experience and suggestions with getting propagating to work without domEvents:true? I see in your examples that this is not needed but as soon as I plug it into our code no events are being triggered until I set domEvents to true..

Thanks so much! Anna

annam avatar Mar 28 '17 16:03 annam

Sorry for my late reply. As far as I remember I didn't need to set domEvents: true, and looking at the docs of hammer.js it is false by default. I'm afraid you will have to do more debugging :(

josdejong avatar Apr 08 '17 13:04 josdejong