diff --git a/packages/nc-gui/components/smartsheet/Grid.vue b/packages/nc-gui/components/smartsheet/Grid.vue index fac496b06a..5c7507d7ab 100644 --- a/packages/nc-gui/components/smartsheet/Grid.vue +++ b/packages/nc-gui/components/smartsheet/Grid.vue @@ -831,6 +831,7 @@ const deleteSelectedRangeOfRows = () => { function addEmptyRow(row?: number) { const rowObj = _addEmptyRow(row) nextTick().then(() => { + clearSelectedRange() makeActive(row ?? data.value.length - 1, 0) scrollToCell?.() })