Really not sure exactly how to explain this one, but when tapping on a trackpad or similar, the click and double click events still trigger the zooming behaviour.
Essentially, what is the process to only allow zooming on either the swipe gesture or mouse scroll?
I've tried multiple different iterations of the above, but when clicking on an element inside the transformContainer, the container still transforms and zooms ...
Any pro-tips would be greatly received ... unless this is actually a bug.
Really not sure exactly how to explain this one, but when tapping on a trackpad or similar, the click and double click events still trigger the zooming behaviour.
I'm using
d3-zoom
with Vue 3 in the following:Essentially, what is the process to only allow zooming on either the swipe gesture or mouse scroll?
I've tried multiple different iterations of the above, but when clicking on an element inside the transformContainer, the container still transforms and zooms ...
Any pro-tips would be greatly received ... unless this is actually a bug.