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 0a4e27b commit cc89e99Copy full SHA for cc89e99
packages/core/src/container/Viewport/Viewport.vue
@@ -190,7 +190,7 @@ onMounted(() => {
190
// if the target element is inside an element with the nopan class, we prevent panning
191
if (
192
isWrappedWithClass(event, noPanClassName.value) &&
193
- (event.type !== 'wheel' || (panOnScroll.value && event.type === 'wheel'))
+ (event.type !== 'wheel' || (panOnScroll.value && event.type === 'wheel' && !zoomKeyPressed.value))
194
) {
195
return false
196
}
0 commit comments