Open laraduarte opened 1 year ago
You can always access the desired element from outside the plugin and perform any action, or use an event.stopImmediatePropagation()
as written in your quote. Does this option work for you?
event.stopImmediatePropagation() is not helping
Most likely because you are listening to the click
event, you need to interrupt the mousedown
event handler
Can you implement something similar to this feature available in panzoom
"Add class options.excludeClass (default is "panzoom-exclude") to whatever element you want to be clickable. Panzoom will check for this class before handling the event. Alternatively, add a reference to the element to the exclude option, or call event.stopImmediatePropagation() in an event handler on the clickable element."