Skip to content

Commit

Permalink
fix(QPullToRefresh): prevent pull when not scrolling down #9351
Browse files Browse the repository at this point in the history
  • Loading branch information
rstoenescu committed May 20, 2021
1 parent 355fcda commit 10f9ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/pull-to-refresh/QPullToRefresh.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export default Vue.extend({
}

if (event.isFirst === true) {
if (getScrollPosition(this.__scrollTarget) !== 0) {
if (getScrollPosition(this.__scrollTarget) !== 0 || event.direction !== 'down') {
if (this.pulling === true) {
this.pulling = false
this.state = 'pull'
Expand Down

0 comments on commit 10f9ab5

Please sign in to comment.