I need to disable the inertial scrolling on the body element for iPad, but keep the ability to scroll the page without the inertia.
I have been look
You can use div with overflow property, it kill smooth iOS scroll
long long text... Css html, body { height: 100%; margin: 0; overflow: hidden; } .scroll { overflow: auto; height: 100%; } http://jsbin.com/palixi/edit 0 讨论(0) 查看其它5个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
Css
html, body { height: 100%; margin: 0; overflow: hidden; } .scroll { overflow: auto; height: 100%; }
http://jsbin.com/palixi/edit