Skip to content

Commit f8e620f

Browse files
committed
refactor(overlays): md comment
1 parent b914f86 commit f8e620f

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

core/src/utils/overlays.ts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -983,13 +983,14 @@ const hideAnimatingOverlayFromScreenReaders = (overlay: HTMLIonOverlayElement) =
983983
const mode = getIonMode(overlay);
984984
console.log('mode', mode);
985985

986-
// if (mode === 'md') {
987-
// /**
988-
// * Once the animation is complete, this attribute will be removed.
989-
// * This is done at the end of the `present` method.
990-
// */
991-
// overlay.setAttribute('aria-hidden', 'true');
992-
// }
986+
if (mode === 'md') {
987+
console.log('in md');
988+
/**
989+
* Once the animation is complete, this attribute will be removed.
990+
* This is done at the end of the `present` method.
991+
*/
992+
overlay.setAttribute('aria-hidden', 'true');
993+
}
993994
};
994995

995996
/**

0 commit comments

Comments
 (0)