-
Notifications
You must be signed in to change notification settings - Fork 395
Open
Description
I'm making a game where the graphics are SVG based, so I use this library to pan across the game. Some of the elements inside the SVG have onclick listeners so that game actions are performed when I click on them.
The problem is that when I pan, it pans as it should, but then when it's finished panning and the mouse happens to be on top of an element with a click listener, that click listener runs as well.
Is there a way to stop event propagation so that when I drag to pan it only pans and ignores any click listeners? If not, could this be added?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels