安卓
<ScrollView overScrollMode={"never"} bounces={false}>...</ScrollView>
附上两个配置的API,看配置名也基本知道是影响什么API了
安卓
配置项:overScrollMode
Used to override default value of overScroll mode.
Possible values:
- `'auto'` - Allow a user to over-scroll this view only if the content is large enough to meaningfully scroll.
- `'always'` - Always allow a user to over-scroll this view.
- `'never'` - Never allow a user to over-scroll this view.
- Default is `'auto'`
IOS
配置项:bounces 弹跳
When true, the scroll view bounces when it reaches the end of the content
if the content is larger than the scroll view along the axis of the scroll direction