Navigate columns with the keyboard

This commit is contained in:
Jorge Manrubia
2025-11-20 09:21:42 +01:00
parent 19d8e41b38
commit 09f18a2087
7 changed files with 33 additions and 6 deletions
@@ -40,6 +40,14 @@ export default class extends Controller {
await this.#restoreColumnsDisablingTransitions()
}
focusOnColumn(event) {
const column = event.target
if (this.#isCollapsed(column)) {
this.#collapseAllExcept(column)
this.#expand(column)
}
}
async #restoreColumnsDisablingTransitions() {
this.#disableTransitions()
this.#restoreColumns()