question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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 issue

Bug 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:

  1. Add an ion-datetime to the template of a page.
  2. 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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
LuisMiguelSScommented, Jun 8, 2020

Sure, will do tomorrow morning.

0reactions
ionitron-bot[bot]commented, Jul 8, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found