Skip to content

Commit 02527ff

Browse files
committed
fix: remove preventDefault from onMouseWheel for independent scroll
1 parent c10e638 commit 02527ff

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/minimap.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,6 @@ export default class Minimap {
10381038
const previousScrollTop = this.getScrollTop()
10391039
const updatedScrollTop = previousScrollTop - Math.round(wheelDeltaY * this.scrollSensitivity)
10401040

1041-
event.preventDefault()
10421041
this.setScrollTop(updatedScrollTop)
10431042
}
10441043
}

0 commit comments

Comments
 (0)