Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

Fix firefox scroll issue #73

Merged
merged 1 commit into from
Nov 24, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lib/timeline/Range.js
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,9 @@ export default class Range extends Component {
// In Mozilla, sign of delta is different than in IE.
// Also, delta is multiple of 3.
delta = -event.detail / 3;
}
} else if (event.deltaY) {
delta = -event.deltaY / 3;
}

// don't allow zoom when the according key is pressed and the zoomKey option or not zoomable but movable
if ((this.options.zoomKey && !event[this.options.zoomKey] && this.options.zoomable)
Expand Down