Skip to content

Commit

Permalink
Merge pull request #1544 from didi/fix-scroll-view-debounce
Browse files Browse the repository at this point in the history
fix: 修改scroll-view refresh执行时机
  • Loading branch information
hiyuki authored Jul 15, 2024
2 parents 6747446 + 3d87077 commit 51cecd4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
this.debounceRefresh = debounce(function () {
this.refresh()
}, 200, {
leading: false,
leading: true,
trailing: true
})
this.dispatchScrollTo = throttle(function (direction) {
Expand Down

0 comments on commit 51cecd4

Please sign in to comment.