1
0
Fork 0
mirror of synced 2024-09-10 06:26:02 +12:00

Fix crash when selecting cells in new row

This commit is contained in:
Andrew Kingston 2024-06-24 14:51:33 +01:00
parent d923f4edb2
commit e2ac112c18
No known key found for this signature in database

View file

@ -112,6 +112,9 @@ export const deriveStores = context => {
// Get source and target row and column indices
const sourceInfo = parseCellID(sourceCellId)
const targetInfo = parseCellID(targetCellId)
if (sourceInfo.rowId === NewRowID) {
return []
}
// Row indices
const sourceRowIndex = $rowLookupMap[sourceInfo.rowId].__idx