You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<divid="box"><divclass="ba">bababab</div><divid="scroll-box"><divclass="pull-down-dom">Pull down to refresh</div><divclass="content"></div></div></div>
用官网上的例子,再在外层加一个固定的元素(黑块 ba)。
下拉直至手指到达黑块,在黑块内左右滑动多次,会触发simulation-scroll-y中的refresh方法,但是滚动区域不会回弹回去。断点后发现,是ismoving还是true。
以上是用demo重现,实战项目中更明显,手指滑到外层固定元素就会重现,不需要左右滑动。断点看了,原因应该是一样的,也是ismoving为true。
The text was updated successfully, but these errors were encountered: