We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d88238 commit 9545d1aCopy full SHA for 9545d1a
core/src/utils/overlays.ts
@@ -749,8 +749,6 @@ const overlayAnimation = async (
749
const aniRoot = overlay.el;
750
const animation = animationBuilder(aniRoot, opts);
751
752
- aniRoot.setAttribute('aria-hidden', 'true');
753
-
754
if (!overlay.animated || !config.getBoolean('animated', true)) {
755
animation.duration(0);
756
}
@@ -767,6 +765,8 @@ const overlayAnimation = async (
767
765
const activeAni = activeAnimations.get(overlay) || [];
768
766
activeAnimations.set(overlay, [...activeAni, animation]);
769
+ aniRoot.setAttribute('aria-hidden', 'true');
+
770
await animation.play();
771
772
aniRoot.removeAttribute('aria-hidden');
0 commit comments