Skip to content

Commit

Permalink
fix: 🐛 remove unneed check for keyboard event in tooltip plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Saul-Mirone committed Jun 21, 2022
1 parent 86b56f4 commit 0ebfd06
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/plugin-tooltip/src/index.ts
Expand Up @@ -22,10 +22,6 @@ export const tooltipPlugin = create<string, TooltipOptions>((utils, options) =>
const plugin = new Plugin({
key,
props: {
handleKeyDown: () => {
manager.setHide(true);
return false;
},
handleClick: (view) => {
manager.setHide(false);
manager.update(view);
Expand Down

1 comment on commit 0ebfd06

@vercel
Copy link

@vercel vercel bot commented on 0ebfd06 Jun 22, 2022

Choose a reason for hiding this comment

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

Please sign in to comment.