在 Ionic 2.0.0-beta.37
和 iOS 10.1.1
上,我无法为我的 View 禁用橡皮筋。
我在 config.xml
中有这个
<preference name="webviewbounce" value="false"/>
<preference name="UIWebViewBounce" value="false"/>
<preference name="DisallowOverscroll" value="true"/>
还有我的ion-content
<ion-content sroll="false" has-bouncing="false" overflow-scroll="false">
但这些都不起作用。欢迎提供有关尝试方法的任何提示。
最佳答案
在我的滚动元素上设置 -webkit-overflow-scrolling: auto
解决了这个问题
关于ios - 无法禁用 ionic ios "rubber band" View ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40673876/