Skip to content

Commit

Permalink
fix(refresher): tune threshold
Browse files Browse the repository at this point in the history
fixes #15233
  • Loading branch information
manucorporat committed Aug 24, 2018
1 parent 5c6fe45 commit d129f62
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions core/src/components/nav/test/basic/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
</ion-toolbar>
</ion-header>
<ion-content padding>
<ion-refresher>
<ion-refresher-content></ion-refresher-content>
</ion-refresher>
<h1>Page One</h1>
<ion-nav-push component="page-two">
<ion-button class="next">Go to Page Two</ion-button>
Expand All @@ -37,6 +40,9 @@ <h1>Page One</h1>
</ion-toolbar>
</ion-header>
<ion-content padding>
<ion-refresher>
<ion-refresher-content></ion-refresher-content>
</ion-refresher>
<h1>Page Two</h1>
<div>
<ion-nav-push component="page-three">
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/refresher/refresher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class Refresher {
gestureName: 'refresher',
gesturePriority: 10,
direction: 'y',
threshold: 10,
threshold: 20,
passive: false,
canStart: this.canStart.bind(this),
onStart: this.onStart.bind(this),
Expand Down

0 comments on commit d129f62

Please sign in to comment.