Skip to content

Commit d129f62

Browse files
committed
fix(refresher): tune threshold
fixes #15233
1 parent 5c6fe45 commit d129f62

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

core/src/components/nav/test/basic/index.html

+6
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
</ion-toolbar>
1818
</ion-header>
1919
<ion-content padding>
20+
<ion-refresher>
21+
<ion-refresher-content></ion-refresher-content>
22+
</ion-refresher>
2023
<h1>Page One</h1>
2124
<ion-nav-push component="page-two">
2225
<ion-button class="next">Go to Page Two</ion-button>
@@ -37,6 +40,9 @@ <h1>Page One</h1>
3740
</ion-toolbar>
3841
</ion-header>
3942
<ion-content padding>
43+
<ion-refresher>
44+
<ion-refresher-content></ion-refresher-content>
45+
</ion-refresher>
4046
<h1>Page Two</h1>
4147
<div>
4248
<ion-nav-push component="page-three">

core/src/components/refresher/refresher.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export class Refresher {
108108
gestureName: 'refresher',
109109
gesturePriority: 10,
110110
direction: 'y',
111-
threshold: 10,
111+
threshold: 20,
112112
passive: false,
113113
canStart: this.canStart.bind(this),
114114
onStart: this.onStart.bind(this),

0 commit comments

Comments
 (0)