Skip to content

Commit

Permalink
chore: handle pr
Browse files Browse the repository at this point in the history
  • Loading branch information
theniceangel committed Jan 26, 2021
1 parent d1e51d4 commit a95abe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pull-up/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export default class PullUp implements PluginAPI {

if (
this.scroll.movingDirectionY === Direction.Positive &&
pos.y <= this.scroll.maxScrollY - threshold
pos.y <= this.scroll.maxScrollY + threshold
) {
this.pulling = true
// must reset pulling after scrollEnd
Expand Down

0 comments on commit a95abe1

Please sign in to comment.