Fix left nav fallback from featured hero item

This commit is contained in:
2026-05-04 00:33:19 +00:00
parent 2adb82da7b
commit f05518a578
+7 -1
View File
@@ -215,7 +215,13 @@ function findNext(currentIdx: number, direction: 'up' | 'down' | 'left' | 'right
if (leftItem !== null) {
return leftItem;
}
// Row 1 has no left item - stay put (don't exit)
// Row 1 has no left item - fall back to top-left tile so left side stays reachable
const topLeftItem = findItemAt(0, -1);
if (topLeftItem !== null) {
lastRow.value = 0;
return topLeftItem;
}
// No fallback available - stay put
return 0;
}