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 846b7cd commit 69e5128Copy full SHA for 69e5128
core/src/utils/overlays.ts
@@ -664,7 +664,9 @@ export const dismiss = async <OverlayDismissOptions>(
664
* from the root element when the last focus-trapping overlay
665
* is dismissed.
666
*/
667
- const overlaysTrappingFocus = presentedOverlays.filter((o) => o.tagName !== 'ION-TOAST' && (o as any).focusTrap !== false);
+ const overlaysTrappingFocus = presentedOverlays.filter(
668
+ (o) => o.tagName !== 'ION-TOAST' && (o as any).focusTrap !== false
669
+ );
670
const overlayEl = overlay.el as HTMLIonOverlayElement & { focusTrap?: boolean };
671
const trapsFocus = overlayEl.tagName !== 'ION-TOAST' && overlayEl.focusTrap !== false;
672
0 commit comments