Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working when '-webkit-overflow-scrolling: touch'. #3

Open
mariuszdev opened this issue Mar 9, 2015 · 0 comments
Open

Not working when '-webkit-overflow-scrolling: touch'. #3

mariuszdev opened this issue Mar 9, 2015 · 0 comments

Comments

@mariuszdev
Copy link

iOS Simulator - iPhone 5 - iOS 8.1

When I'm setting

 -webkit-overflow-scrolling: touch

on scrollable container, overscrolling appears in this container, not in body.

HTML:

<body>
    <div class="container scroll">
        <div class="content"></div>
    </div>
</body>

SASS:

html, body
    height: 100%

body
    background-color: grey

    .container
        position: relative
        height: 100%
        background-color: blue
        overflow: auto
        -webkit-overflow-scrolling: touch

    .content
        height: 1000px
        width: 200px
        margin: 10px auto
        background-color: red
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant