Open Chankse opened 3 years ago
I've handled this by pausing the viewport when the user is interacting with elements.
viewport.pause = true
https://davidfig.github.io/pixi-viewport/jsdoc/Viewport.html#pause
Thank you very much, I'll try that, in my case stopPropagation worked as well, but I don't think it will work in every case
This worked for my use case, many thanks
Hello, I have Pixi Viewport on my project and I add a container with some sprites to it. I have dragging functionality on my sprites with 'mousemove' and 'touchmove', which works fine but when I add the drag plugin to the viewport, it is called alongside mousemove. Is there any option/variable I have to add to disable the drug when elements inside viewport are dragged or how should I do that?