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 9d1aae3 commit 70e160cCopy full SHA for 70e160c
core/src/utils/overlays.ts
@@ -32,6 +32,7 @@ import {
32
removeEventListener,
33
} from './helpers';
34
import { printIonWarning } from './logging';
35
+import { isPlatform } from './platform';
36
37
let lastOverlayIndex = 0;
38
let lastId = 0;
@@ -986,9 +987,7 @@ export const createTriggerController = () => {
986
987
const hideAnimatingOverlayFromScreenReaders = (overlay: HTMLIonOverlayElement) => {
988
if (doc === undefined) return;
989
- const mode = getIonMode(overlay);
990
-
991
- if (mode === 'md') {
+ if (isPlatform('android')) {
992
/**
993
* Once the animation is complete, this attribute will be removed.
994
* This is done at the end of the `present` method.
0 commit comments