Skip to content

Commit

Permalink
Update InternalEvents.tsx (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
tommoor authored Dec 13, 2021
1 parent 1bbc4be commit c0b53b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/InternalEvents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ function useToggleHandler() {
}
}

window.addEventListener("keydown", handleKeyDown, true);
return () => window.removeEventListener("keydown", handleKeyDown, true);
window.addEventListener("keydown", handleKeyDown);
return () => window.removeEventListener("keydown", handleKeyDown);
}, [options.callbacks, query, showing]);

const timeoutRef = React.useRef<Timeout>();
Expand Down

1 comment on commit c0b53b7

@vercel
Copy link

@vercel vercel bot commented on c0b53b7 Dec 13, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

Please sign in to comment.