fix: event propagation from zoom
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -142,9 +142,6 @@ invoke(async () => {
|
|||||||
|
|
||||||
const keyPress = useKeyPress(props.selectionKeyCode)
|
const keyPress = useKeyPress(props.selectionKeyCode)
|
||||||
d3z.filter((event: MouseEvent) => {
|
d3z.filter((event: MouseEvent) => {
|
||||||
event.stopPropagation()
|
|
||||||
event.stopImmediatePropagation()
|
|
||||||
event.preventDefault()
|
|
||||||
const pinchZoom = props.zoomOnPinch && event.ctrlKey
|
const pinchZoom = props.zoomOnPinch && event.ctrlKey
|
||||||
|
|
||||||
// if all interactions are disabled, we prevent all zoom events
|
// if all interactions are disabled, we prevent all zoom events
|
||||||
|
|||||||
Reference in New Issue
Block a user