bug: [Intervention] Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted
See original GitHub issueBug Report
Ionic version:
[x] 4.11.10
Current behavior:
When an ion-datetime
is added into the html and the user interacts with it (either touches it or scrolls through it) the error pops up in the console and does not let the application continue working properly.
Expected behavior:
The user should be able to scroll or touch as desired without affecting the application’s performance.
Steps to reproduce:
- Add an
ion-datetime
to the template of a page. - Run the app (wether on a device or the browser).
Related code:
page.html
<ion-item>
<ion-label>Date Selector</ion-label>
<ion-datetime></ion-datetime>
</ion-item>
page.ts
const birthdate = new Date(this.registerForm.value.birthdate);
Other information:
Related issue: #18641
Ionic info:
Ionic:
Ionic CLI : 5.4.16 (C:\Users\myuser\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.11.10
@angular-devkit/build-angular : 0.901.7
@angular-devkit/schematics : 8.1.3
@angular/cli : 9.1.7
@ionic/angular-toolkit : 2.2.0
Capacitor:
Capacitor CLI : 2.1.1
@capacitor/core : 2.1.1
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : not available
4.2.1, (and 6 other plugins)
Utility:
cordova-res : not installed
native-run : 1.0.0
System:
Android SDK Tools : 26.1.1 (D:\Windows\AndroidStudio\bin)
NodeJS : v13.2.0 (C:\Program Files\nodejs\node.exe)
npm : 6.14.4
OS : Windows 10
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Easy fix for: '[Intervention] Ignored attempt to cancel ... - URIports
[Intervention] Ignored attempt to cancel a touchstart event with cancelable=false, for example, because scrolling is in progress and cannot be ...
Read more >Touch move getting stuck Ignored attempt to cancel a ...
Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.
Read more >[Intervention] Ignored attempt to cancel a touchstart event with ...
[Intervention] Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.
Read more >Solving issue: “[Intervention] Ignored attempt to cancel a ...
Solving issue: “[Intervention] Ignored attempt to cancel a touchmove event with cancelable=false”. This article describes how to solve this warning that ...
Read more >[Intervention] Ignored attempt to cancel a ... - AppStudio
“[Intervention] Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sure, will do tomorrow morning.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.