feat: Added per-tag preference to use table layout and removed "Files Table View" from Labs

This commit is contained in:
Aman Harwara
2023-01-06 17:00:19 +05:30
parent eea97362f8
commit dd8ccdeadc
16 changed files with 98 additions and 76 deletions

View File

@@ -186,7 +186,7 @@ function Table<Data>({ table }: { table: Table<Data> }) {
break
case KeyboardKey.Down:
event.preventDefault()
if (focusedRowIndex.current < rowCount) {
if (focusedRowIndex.current <= rowCount) {
const nextRow = focusedRowIndex.current + 1
focusCell(nextRow, focusedCellIndex.current)
}