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 5317672 commit a639c85Copy full SHA for a639c85
core/src/utils/overlays.ts
@@ -754,7 +754,7 @@ const overlayAnimation = async (
754
755
animation.beforeAddWrite(() => {
756
console.log('beforeAddWrite');
757
- aniRoot.setAttribute('aria-hidden', 'true');
+ baseEl.setAttribute('aria-hidden', 'true');
758
759
if (overlay.keyboardClose) {
760
const activeElement = baseEl.ownerDocument!.activeElement as HTMLElement;
@@ -765,7 +765,7 @@ const overlayAnimation = async (
765
});
766
767
animation.afterAddWrite(() => {
768
- aniRoot.removeAttribute('aria-hidden');
+ baseEl.removeAttribute('aria-hidden');
769
console.log('afterAddWrite');
770
771
0 commit comments