Expanding columns and selection working

This commit is contained in:
Jorge Manrubia
2025-11-20 13:00:59 +01:00
parent 95b2d6ffe6
commit 3247841c2d
7 changed files with 22 additions and 29 deletions
@@ -40,11 +40,10 @@ export default class extends Controller {
await this.#restoreColumnsDisablingTransitions()
}
focusOnColumn(event) {
const column = event.target
if (this.#isCollapsed(column)) {
this.#collapseAllExcept(column)
this.#expand(column)
focusOnColumn({ target }) {
if (this.#isCollapsed(target)) {
this.#collapseAllExcept(target)
this.#expand(target)
}
}