Large number of keyboard navigation and other fixes.

This commit is contained in:
Leo Vasanko
2023-11-18 10:15:13 -08:00
parent ebbd96bc94
commit e56cc47105
8 changed files with 94 additions and 82 deletions

View File

@@ -83,6 +83,9 @@ export const useMainStore = defineStore({
if (this.query) this.prefs.sortFiltered = name
else this.prefs.sortListing = name
},
focusBreadcrumb() {
(document.querySelector('.breadcrumb') as HTMLAnchorElement).focus()
}
},
getters: {
sortOrder(): SortOrder { return this.query ? this.prefs.sortFiltered : this.prefs.sortListing },