Skip to content

Commit

Permalink
Merge pull request #11 from bzemms/patch-1
Browse files Browse the repository at this point in the history
Fix autohide
  • Loading branch information
fuermosi777 authored Apr 18, 2018
2 parents 8ef4ad0 + 925c5c5 commit 1f7ffc4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ export default class FreeScrollbar extends React.Component {
document.removeEventListener('mousemove', this.handleHandlerMouseMove);
document.removeEventListener('mouseup', this.handleHandlerMouseUp);
document.removeEventListener('readystatechange', this.handleReadyStateChange);

clearTimeout(this.handlerHider);
}

componentDidUpdate() {
Expand Down

0 comments on commit 1f7ffc4

Please sign in to comment.