Skip to content

Commit

Permalink
[core] Fixed broken wheel listener
Browse files Browse the repository at this point in the history
Fixes #4695

Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
  • Loading branch information
svenefftinge committed Mar 25, 2019
1 parent 9c8e29b commit ea77750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/browser/frontend-application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export class FrontendApplication {
document.addEventListener('keydown', event => this.keybindings.run(event), true);
// Prevent forward/back navigation by scrolling in OS X
if (isOSX) {
document.body.addEventListener('wheel', preventNavigation);
document.body.addEventListener('wheel', preventNavigation, { passive: false });
}
}

Expand Down

0 comments on commit ea77750

Please sign in to comment.