From 0ebfd06722285262df271548f817afe28c9c52fc Mon Sep 17 00:00:00 2001 From: Mirone Saul Date: Tue, 21 Jun 2022 21:07:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20remove=20unneed=20check?= =?UTF-8?q?=20for=20keyboard=20event=20in=20tooltip=20plugin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/plugin-tooltip/src/index.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/plugin-tooltip/src/index.ts b/packages/plugin-tooltip/src/index.ts index 858e62a88db..16d95c9b66c 100644 --- a/packages/plugin-tooltip/src/index.ts +++ b/packages/plugin-tooltip/src/index.ts @@ -22,10 +22,6 @@ export const tooltipPlugin = create((utils, options) => const plugin = new Plugin({ key, props: { - handleKeyDown: () => { - manager.setHide(true); - return false; - }, handleClick: (view) => { manager.setHide(false); manager.update(view);