luster-io / prevent-overscroll Goto Github PK
View Code? Open in Web Editor NEWIncludable JavaScript to prevent overscroll on mobile devices.
License: MIT License
Includable JavaScript to prevent overscroll on mobile devices.
License: MIT License
I don't know that there's anything to be done for it, but I tried this on my Nokia 520 with IE 11 and it still overscrolls w/ bounce. A brief Google search didn't yield any promising hits, but perhaps someone can figure out a good solution for Windows phones.
It doesn't seem to be working anymore?
I tried it in iOS 11.3 on Safari, Chrome and Firefox. All of them have the error. The bouncing takes place.
I noticed it today. Is this something perhaps that has to do with the last iOS update?
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
I haven't been able to find a solution so far... any idea ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.