From 2364e9ec4864dfef95703986c313ba5ece95ec06 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Thu, 16 Mar 2023 17:24:47 +0800 Subject: [PATCH] fix(nc-gui): cast HTMLElement --- packages/nc-gui/components/smartsheet/expanded-form/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/components/smartsheet/expanded-form/index.vue b/packages/nc-gui/components/smartsheet/expanded-form/index.vue index db1108435a..33b8953837 100644 --- a/packages/nc-gui/components/smartsheet/expanded-form/index.vue +++ b/packages/nc-gui/components/smartsheet/expanded-form/index.vue @@ -215,7 +215,7 @@ useActiveKeyupListener( // on alt + s save record else if (e.code === 'KeyS') { // remove focus from the active input if any - document.activeElement?.blur() + (document.activeElement as HTMLElement)?.blur() e.stopPropagation()