position: relative
, height: 100vh
, and overflow: hidden
, while html
and body
should allow scrolling.-webkit-overflow-scrolling: auto
.pointer-events: none
.You're experiencing a scrolling issue on Safari for iPad when using an , which can occur due to how iOS handles overflow and iframe behavior.
scrolling="no"
and adjust its parent container properly.Set the iframe’s parent container (usually a <div>
) to have styles such as:
Position: relative or static
Height: 100vh if it's a full-screen cover
Overflow: hidden (if iframe shouldn't scroll)
For the rest of the page, make sure:
Body and html elements are not set to overflow: hidden
There is enough content below the fold to trigger scrolling
<style>
or before </body>
that disables scrolling like:overflow: hidden;
touch-action: none;
on the body or htmlSafari on iPad (iOS) often needs tailored fixes:
Use Webflow’s custom CSS section to target iOS devices with media queries like:
```
@supports (-webkit-overflow-scrolling: touch) {
body {
-webkit-overflow-scrolling: auto;
}
}
```
Also, add this style in the custom code or Embed element to help force scrolling:
```
html, body {
overflow: auto !important;
height: 100% !important;
position: relative !important;
}
```
pointer-events: none;
to the iframe if it’s non-interactive.To enable scrolling when using an iframe cover on Safari iPad, ensure that your iframe doesn’t block touch input, your page is not set to overflow: hidden, and use iOS-specific CSS tweaks in Webflow. Consider using more optimized Webflow-native elements like video or images for better cross-device compatibility.