Browse Source

fix: clear fill handle properly on expanded form close

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/7260/head
mertmit 11 months ago
parent
commit
854dad6d14
  1. 10
      packages/nc-gui/components/smartsheet/grid/Table.vue

10
packages/nc-gui/components/smartsheet/grid/Table.vue

@ -1027,13 +1027,11 @@ eventBus.on(async (event, payload) => {
addColumnDropdown.value = true
}
if (event === SmartsheetStoreEvents.CLEAR_NEW_ROW) {
const removed = removeRowIfNew?.(payload)
clearSelectedRange()
activeCell.row = null
activeCell.col = null
if (removed) {
clearSelectedRange()
activeCell.row = null
activeCell.col = null
}
removeRowIfNew?.(payload)
}
})

Loading…
Cancel
Save