Why does an Elementor popup extend beyond the mobile viewport?

An Elementor popup extends beyond the mobile viewport when its width, height, padding or inner widgets exceed the space available after browser chrome and the keyboard. Fixed pixel dimensions and large minimum heights are common causes. Configure the popup and its contents in the Elementor mobile view, then test the live overlay on a real phone.
Open Popup Settings and inspect width, height, horizontal position and vertical position for the mobile range. Use a width that fits the viewport and a height that can adapt. Full-screen designs can use viewport-relative sizing, while ordinary dialogs should keep edge spacing and a maximum height below the visible screen.
Make the inner panel scrollable when content is taller than the available area. Keep the close button inside the safe region and visible while scrolling. Remove negative margins, absolute offsets and fixed-width form fields from child widgets. A long validation message or translated button must not widen the popup.
.elementor-popup-modal .dialog-widget-content {
width: min(92vw, 36rem);
max-height: calc(100dvh – 2rem);
overflow-y: auto;
overscroll-behavior: contain;
}
.elementor-popup-modal img {
max-width: 100%;
height: auto;
}
Dynamic viewport units can follow the visible screen more closely than legacy vh, but the keyboard may still require the focused field to scroll into view. Test forms near the bottom of the popup on iOS and Android. Avoid locking the inner panel and body in a way that leaves neither one scrollable.
Check the popup’s Show on devices rule, Elementor breakpoints and inherited responsive values. Save changes, clear generated files and page cache, then inspect the published CSS. Test portrait, short landscape, enlarged text and browser zoom. The overlay should lock background scroll while keeping every popup control reachable.