Fixed out-of-sync ARIA attributes in navigation

This commit is contained in:
squidfunk 2023-09-23 09:30:15 +02:00
parent 950d1e41fb
commit b1ee79b262
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF

View File

@ -24,6 +24,7 @@ import {
Observable,
Subject,
animationFrameScheduler,
asyncScheduler,
auditTime,
combineLatest,
defer,
@ -36,6 +37,7 @@ import {
ignoreElements,
map,
mergeMap,
observeOn,
takeUntil,
tap,
withLatestFrom
@ -202,6 +204,7 @@ export function mountSidebar(
.pipe(
mergeMap(label => fromEvent(label, "click")
.pipe(
observeOn(asyncScheduler),
map(() => label),
takeUntil(done$)
)