fix: move slots outside of zoom pane
* avoids zoom gesture events bubbling to zoom pane and causing elements over flow to trigger zoom when they shouldn't Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -142,6 +142,9 @@ invoke(async () => {
|
||||
|
||||
const keyPress = useKeyPress(props.selectionKeyCode)
|
||||
d3z.filter((event: MouseEvent) => {
|
||||
event.stopPropagation()
|
||||
event.stopImmediatePropagation()
|
||||
event.preventDefault()
|
||||
const pinchZoom = props.zoomOnPinch && event.ctrlKey
|
||||
|
||||
// if all interactions are disabled, we prevent all zoom events
|
||||
|
||||
Reference in New Issue
Block a user