【发布时间】:2016-09-23 19:10:42
【问题描述】:
我无法找到有关 Ionic 为何希望将 ion-content 上的 has-bounceing 默认设置为 false 的文档。
我的一般理解是 ionic 已经从本机(ios 和 android)控制了滚动处理。因此,我试图了解 has-bounce 配置选项的局限性。即,如果我将 has-bounceing 设置为 true,将会/可能会破坏什么?
While we recommend using the custom Scroll features in Ionic in most cases, sometimes (for performance reasons) only the browser’s native overflow scrolling will suffice, and so we’ve made it easy to toggle between the Ionic scroll implementation and overflow scrolling.
http://ionicframework.com/docs/api/directive/ionContent/
旁注:android 似乎有一个本地方法来处理这个事件? (https://developer.android.com/reference/android/widget/ScrollView.html#setOverScrollMode%28int%29)。
提前感谢您的任何见解!
【问题讨论】:
标签: android cordova ionic-framework