We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed2e574 commit 19df6caCopy full SHA for 19df6ca
packages/core/src/container/Viewport/Viewport.vue
@@ -151,7 +151,7 @@ onMounted(() => {
151
}
152
})
153
154
- d3Zoom.filter((event: MouseEvent | TouchEvent) => {
+ d3Zoom.filter((event: MouseEvent | TouchEvent | WheelEvent) => {
155
const zoomScroll = zoomKeyPressed.value || zoomOnScroll.value
156
const pinchZoom = zoomOnPinch.value && event.ctrlKey
157
const eventButton = (event as MouseEvent).button
0 commit comments