Overflow does not automatically work on iOS

I've tried in many browsers, Firefox, Safari, IE10, Android devices, everything works fine. But when it turns to iOS devices like iPads, iPhones, the overflow doesn't work.

the structure looks like the following:

<div class="slide-open-info"> <!-- this one has the overflow -->
    <p></p>
    <ul></ul>
    <!-- and more code -->
</div>

.slide-open-info {
    position: absolute;
    top: 130px;
    left: 0;
    width: 60vw;
    bottom: 0;
    overflow: auto;
    display: block;
    -webkit-overflow-scrolling: touch;
}

      

The parent of this CSS is at an absolute position with a height of 100% of the browser window (this is a full screen website).

I've searched why doesn't work and found many answers to use -webkit-overflow-scrolling: touch;

along with overflow: auto;

, but it doesn't work. I even tried overflow: scroll;

it but nothing happens.

+3
html css ios overflow


source to share


No one has answered this question yet

Check out similar questions:

1942
How to move the height: 0; height: auto; using CSS?
1777
How do CSS triangles work?
1473
Using Auto Layout in UITableView for Dynamic Cell Layouts and Variable Row Heights
1264
How can I automatically resize the image to fit the container div?
169
Can't scroll to top of flex item that overflows container
46
Unable to display HTML string
4
content div with -webkit-overflow-scrolling: touch brings problems with absolutely positioned children on IOS devices
1
automatic overflow does not work on safari
0
Horizontal scrolling does not work on iphone
0
Overflow-y does not work on iPad



All Articles
Loading...
X
Show
Funny
Dev
Pics