Fix errors not showing in sticky column and clear cell value on backspace press
This commit is contained in:
parent
6da9da4267
commit
b867d359f4
|
@ -40,8 +40,8 @@
|
|||
{column}
|
||||
{row}
|
||||
{invertY}
|
||||
invertX={idx >= $columnHorizontalInversionIndex}
|
||||
{rowFocused}
|
||||
invertX={idx >= $columnHorizontalInversionIndex}
|
||||
highlighted={rowHovered || rowFocused || reorderSource === column.name}
|
||||
selected={rowSelected}
|
||||
rowIdx={idx}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -67,6 +67,7 @@
|
|||
changeFocusedRow(1)
|
||||
break
|
||||
case "Delete":
|
||||
case "Backspace":
|
||||
deleteSelectedCell()
|
||||
break
|
||||
case "Enter":
|
||||
|
|
Loading…
Reference in New Issue