diff --git a/packages/nc-gui/components/smartsheet/Grid.vue b/packages/nc-gui/components/smartsheet/Grid.vue index 644cd28bb9..db9ce5f061 100644 --- a/packages/nc-gui/components/smartsheet/Grid.vue +++ b/packages/nc-gui/components/smartsheet/Grid.vue @@ -284,10 +284,9 @@ const { activeCell.col = 0 resetSelectedRange() nextTick(() => { - ;(document.querySelector('td.cell.active') as - | HTMLInputElement - | HTMLTextAreaElement - )?.scrollIntoView({ behavior: 'smooth' }) + ;(document.querySelector('td.cell.active') as HTMLInputElement | HTMLTextAreaElement)?.scrollIntoView({ + behavior: 'smooth', + }) }) } break