Skip to content

Commit

Permalink
fix: remove preventDefault from onMouseWheel for independent scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Apr 2, 2021
1 parent c10e638 commit 02527ff
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/minimap.js
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,6 @@ export default class Minimap {
const previousScrollTop = this.getScrollTop()
const updatedScrollTop = previousScrollTop - Math.round(wheelDeltaY * this.scrollSensitivity)

event.preventDefault()
this.setScrollTop(updatedScrollTop)
}
}
Expand Down

0 comments on commit 02527ff

Please sign in to comment.