mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed out-of-sync ARIA attributes in navigation
This commit is contained in:
parent
950d1e41fb
commit
b1ee79b262
@ -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$)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user