Closed wenisy closed 5 years ago
I have the same issue. Also getting an error "refresher.complete is not a function" any solution to this ?
@akkitheakhil still waiting...
If you get any solution of this, could you please write it down here?
Same here
I have the same issue.
Having it here as well
ionic (Ionic CLI) : 4.1.1 (/usr/local/lib/node_modules/ionic) Ionic Framework : @ionic/angular 4.0.0-beta.8 @angular-devkit/core : 0.8.1 @angular-devkit/schematics : 0.8.1 @angular/cli : 6.2.1 @ionic/ng-toolkit : 1.0.8 @ionic/schematics-angular : 1.0.6
Guys, please check Ionic 4 beta docs: https://beta.ionicframework.com/docs/api/refresher
Guys, please check Ionic 4 beta docs: https://beta.ionicframework.com/docs/api/refresher @babaru
Sorry, I didn't get your point.
You mean we should add
setTimeout(() => {
console.log('Async operation has ended');
event.target.complete();
}, 2000);
In doRefresh function?
I have done that, but still have this issue.
+1
I have same problem.
Code:
Same problem here!
+1
It's solved for me. It was my fault. Now I have the
<ion-content padding>
<ion-refresher (ionRefresh)="doRefresh($event)">
<ion-refresher-content>
</ion-refresher-content>
</ion-refresher>
<ion-card *ngFor="let ticket of currentTickets">
<ion-card-header>
{{ticket.Title}}
</ion-card-header>
<ion-card-content>
<div>{{ticket.Description}}</div>
</ion-card-content>
</ion-card>
</ion-content>
I am still having this issue. Is there any known fix ?
Still issue persists in the latest ionic version. Any known fix or turn around solution?
same problem here. ionic Info: `Ionic:
ionic (Ionic CLI) : 4.3.1 (C:\Users\Riyaz\AppData\Roaming\npm\node_modules\ionic) Ionic Framework : @ionic/angular 4.0.0-beta.15 @angular-devkit/build-angular : 0.8.7 @angular-devkit/schematics : 0.8.7 @angular/cli : 6.2.7 @ionic/angular-toolkit : 1.1.0
Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1) Cordova Platforms : android 7.1.1 Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.0, (and 11 other plugins)
System:
NodeJS : v8.11.2 (C:\Program Files\nodejs\node.exe) npm : 5.6.0 OS : Windows 10`
Same problem. Have some idea to fix this?
Up. Same error for me
same problem any idea to fix
Is there a solution?
This is still not working with beta.17?
I'm not the OP, but FWIW, I still see the error with Beta 17 in our application.
Thanks for confirming it :)
same issue for us. waiting for fix.
It would be great if someone can create a repo for that so we can see the console error log :)
same issue
Here you go, @paulstelzer.
Steps to Reproduce
blank
Angular starter template. The only substantial change is adding the ion-refresher
. It is on Beta 19.npm i
.ionic serve
.same issue here
edit I don't know if it helps you, but, I fixed the error in my code, adding async to the called functions in my doRefresh and removed the reset of the variables.
Had same error. fixed the error by removing async in doRefresh method. there was two async in doRefresh and in calling http client api
same error
Hi All, For resolving the complete in not a function, add a variable reference to html
<ion-refresher #refresherRef slot="fixed" (ionRefresh)="doRefresh($event)">
and in .ts add :
@ViewChild('refresherRef') refresherRef;
doRefresh(refresher) {
console.log('Begin async operation', refresher);
setTimeout(() => {
console.log('Async operation has ended');
this.refresherRef.complete();
}, 2000);
}
and for that error, I have add content empty:
<ion-refresher-content>
</ion-refresher-content>
and that work for me.
I am getting the same error and it is causing me another problem. check my post:
https://forum.ionicframework.com/t/video-refresher-gets-triggered-when-scrolling-down/152807
for my case, I noticed that when I pull the refresher gently and slowly the problem is gone and scroll works fine.
to generate the scrolling issue:
to avoid the scrolling issue:
Same here +1
Same error in latest build too +1
Hi everyone,
This has been resolved via #17351 and will be in the next release of Ionic. I have published a nightly build with this fix if anyone would be interested in testing with their apps (4.1.0-dev.201903011951.f205b10
). Thanks!
Issue still exists. I get this only on android (for example while moving slider). Never on ios.
Ionic:
ionic (Ionic CLI) : 4.9.0 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.1.1
@angular-devkit/build-angular : 0.12.4
@angular-devkit/schematics : 7.2.4
@angular/cli : 7.2.4
@ionic/angular-toolkit : 1.2.3
Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 8.0.0, ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.3.2, (and 10 other plugins)
System:
Android SDK Tools : 26.1.1 (/Users/rafalschmidt/Library/Android/sdk)
ios-deploy : 1.9.4
ios-sim : 7.0.0
NodeJS : v10.15.0 (/usr/local/bin/node)
npm : 6.4.1
OS : macOS Mojave
Xcode : Xcode 10.1 Build version 10B61
Hi there,
This issue is related to the touchmove event on the refresher component. For anything outside of that, please create a new issue.
Thanks!
Bug Report
Ionic Info Run
ionic info
from a terminal/cmd prompt and paste the output below.Describe the Bug
I add a tap event on
ion-item
, and to make it could scroll I also add[style.touch-action]="'pan-y'"
to make it work.Pull down to refresh the page, there is a error in console.
[Intervention] Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.
Steps to Reproduce Steps to reproduce the behavior:
Related Code
Expected Behavior No error in console.
Additional Context