fix: faulty focus on load #593
Massimo Melina committed
May 14, 2024 at 23:07 UTC
d7882e3d5a3cf9fdc6612a89bd671e773c2adc11
1 file changed
+1
-1
frontend/src/FilterBar.ts
+1
-1
@@ -18,7 +18,7 @@ export function FilterBar() {
18
const sel = Object.keys(selected).length
19
const fil = filteredList?.length
20
const tabIndex = showFilter ? undefined : -1
21
- return h('div', { id: 'filter-bar', className: showFilter ? 'show-sliding' : 'before-sliding', 'aria-hidden': !showFilter },
21
+ return h('div', { id: 'filter-bar', style: { display: showFilter ? undefined : 'none' } },
22
h(Checkbox, {
23
value: all,
24
tabIndex,