当出现bindrefresherrefresh 方法拉不动无法触发下拉刷新的问题的时候基本都是scroll-view 的高度设定的问题,
需要在scroll-view 添加 wx:if="{{scrollHeight}}" 判断一下当有scrollHeight高度后再渲染scroll-view
scrollHeight 是在js里面获取的scroll-view的高度。
还有一种可能是添加一下
scroll-y="true"
<scroll-view
refresher-triggered="{{isRefresh}}"
refresher-enabled="{{true}}"
style="height: {{scrollHeight}}px;"
scroll-y="true"
wx:if="{{scrollHeight}}"
bindrefresherrefresh="refresh">
- bindrefresherrefresh scroll-view 程序 scroll 问题bindrefresherrefresh scroll-view程序scroll scroll-view程序scroll view scroll-view元素 程序scroll scroll-view程序tabbar scroll scroll-view顶部 页面 程序 scroll-view bindscroll组件 程序 scroll-view功能 程序scroll scroll-view scroll scroll-into-view view scroll-view scroll-view uniapp scroll view