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