Browse Source

fix(nc-gui): cast HTMLElement

pull/5307/head
Wing-Kam Wong 2 years ago
parent
commit
2364e9ec48
  1. 2
      packages/nc-gui/components/smartsheet/expanded-form/index.vue

2
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()

Loading…
Cancel
Save