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}
|
{column}
|
||||||
{row}
|
{row}
|
||||||
{invertY}
|
{invertY}
|
||||||
invertX={idx >= $columnHorizontalInversionIndex}
|
|
||||||
{rowFocused}
|
{rowFocused}
|
||||||
|
invertX={idx >= $columnHorizontalInversionIndex}
|
||||||
highlighted={rowHovered || rowFocused || reorderSource === column.name}
|
highlighted={rowHovered || rowFocused || reorderSource === column.name}
|
||||||
selected={rowSelected}
|
selected={rowSelected}
|
||||||
rowIdx={idx}
|
rowIdx={idx}
|
||||||
|
|
|
@ -132,6 +132,9 @@
|
||||||
</SheetCell>
|
</SheetCell>
|
||||||
{#if $stickyColumn}
|
{#if $stickyColumn}
|
||||||
<DataCell
|
<DataCell
|
||||||
|
{row}
|
||||||
|
{cellId}
|
||||||
|
{rowFocused}
|
||||||
selected={rowSelected}
|
selected={rowSelected}
|
||||||
highlighted={rowHovered || rowFocused}
|
highlighted={rowHovered || rowFocused}
|
||||||
rowIdx={idx}
|
rowIdx={idx}
|
||||||
|
@ -139,8 +142,6 @@
|
||||||
selectedUser={$selectedCellMap[cellId]}
|
selectedUser={$selectedCellMap[cellId]}
|
||||||
width={$stickyColumn.width}
|
width={$stickyColumn.width}
|
||||||
column={$stickyColumn}
|
column={$stickyColumn}
|
||||||
{row}
|
|
||||||
{cellId}
|
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -67,6 +67,7 @@
|
||||||
changeFocusedRow(1)
|
changeFocusedRow(1)
|
||||||
break
|
break
|
||||||
case "Delete":
|
case "Delete":
|
||||||
|
case "Backspace":
|
||||||
deleteSelectedCell()
|
deleteSelectedCell()
|
||||||
break
|
break
|
||||||
case "Enter":
|
case "Enter":
|
||||||
|
|
Loading…
Reference in New Issue