React Native Android:如何去除“过度滚动效果"滚动视图 [英] React Native Android: how to remove "overscroll effect" of ScrollView
本文介绍了React Native Android:如何去除“过度滚动效果"滚动视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在React Native Android中添加ScrollView组件,当你一直向下或向上滚动时,它会显示一个过度滚动的效果.你如何删除它?
Added ScrollView Component in React Native Android, and when you scroll down or up all the way, it show an overscroll effect. How do you remove this?
推荐答案
从 React Native 0.42 开始,一个 overScrollMode
属性可用于设置每个 ScrollView 的过度滚动模式:
As of React Native 0.42, an overScrollMode
prop is available to set the overscroll mode for each ScrollView:
https://facebook.github.io/react-native/docs/scrollview.html#overscrollmode
这篇关于React Native Android:如何去除“过度滚动效果"滚动视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文