Skip to content

Commit

Permalink
Fix tap while scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
RomRider committed Mar 16, 2020
1 parent 14b2062 commit 807f0c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/action-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ class ActionHandler extends HTMLElement implements ActionHandler {
if (this.isRepeating && this.repeatTimeout) {
clearInterval(this.repeatTimeout);
this.isRepeating = false;
return;
}
return;
}
clearTimeout(this.timer);
if (this.isRepeating && this.repeatTimeout) {
Expand Down

0 comments on commit 807f0c3

Please sign in to comment.