diff --git a/src/history.js b/src/history.js index 0987bc4..6bc86ef 100644 --- a/src/history.js +++ b/src/history.js @@ -68,6 +68,7 @@ function CommitInfo({ commit, move, onClick }) { function CommitList({ commits, currentIndex, selectCommit }) { const mouseWheelEvent = e => { + e.preventDefault(); selectCommit(currentIndex + (e.deltaX + e.deltaY) / 100); }; return (