Skip to content

[Intervention] Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted. #553

Open
@Ann2827

Description

@Ann2827

I get an error on touch events (however, the app doesn't break).

Снимок экрана 2021-04-09 в 15 20 00

Снимок экрана 2021-04-09 в 15 20 11

This problem can be solved by using:

if (e.type === 'touchstart' && e.cancelable) e.preventDefault();

https://alexandrerosseto.medium.com/solving-issue-intervention-ignored-attempt-to-cancel-a-touchmove-event-with-cancelable-false-62014ef15742

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions