Fix errors not showing in sticky column and clear cell value on backspace press

This commit is contained in:
Andrew Kingston 2023-04-16 11:56:27 +01:00
parent 6da9da4267
commit b867d359f4
3 changed files with 5 additions and 3 deletions

View File

@ -40,8 +40,8 @@
{column}
{row}
{invertY}
invertX={idx >= $columnHorizontalInversionIndex}
{rowFocused}
invertX={idx >= $columnHorizontalInversionIndex}
highlighted={rowHovered || rowFocused || reorderSource === column.name}
selected={rowSelected}
rowIdx={idx}

View File

@ -132,6 +132,9 @@
</SheetCell>
{#if $stickyColumn}
<DataCell
{row}
{cellId}
{rowFocused}
selected={rowSelected}
highlighted={rowHovered || rowFocused}
rowIdx={idx}
@ -139,8 +142,6 @@
selectedUser={$selectedCellMap[cellId]}
width={$stickyColumn.width}
column={$stickyColumn}
{row}
{cellId}
/>
{/if}
</div>

View File

@ -67,6 +67,7 @@
changeFocusedRow(1)
break
case "Delete":
case "Backspace":
deleteSelectedCell()
break
case "Enter":