diff --git a/src/components/modal/v2/lib/utils.js b/src/components/modal/v2/lib/utils.js index b35702ce8f..3d0c9431f2 100644 --- a/src/components/modal/v2/lib/utils.js +++ b/src/components/modal/v2/lib/utils.js @@ -71,6 +71,11 @@ const { userAgent } = window.navigator; export const isIframe = window.top !== window || isIosWebview(userAgent) || isAndroidWebview(userAgent); export function setupTabTrap() { + // Disable tab trap functionality for modal lander + if (isLander) { + return; + } + const focusableElementsString = "a[href], button, input, textarea, select, details, [tabindex]:not([tabindex='-1'])";