Skip to content

IgnoredEventCancel : intervention: Ignored attempt to cancel a touchmove event with canclable=false #7415

@chonlatit-tpit

Description

@chonlatit-tpit

Check that this is really a bug

  • I confirm

Reproduction link

Bug description

Hi,

We use swiper in our project and we occasionally found the error from error monitoring tools (datadog).
The error is come form /swiper/esm/components/scrollbar/scrollbar.js (see attached files).

We try to reproduced the bug but cant. We used to have the same bug in other parts of our code and we solve this with

if (e.cancelable) {
e.preventDefault();
}
In this case, Is it possible to create pull requests for fixed this one.

Our project used

nextjs (v.12.2)
swiper (v.6.8.4)

313533780-26c9eba0-240e-44a3-9ca2-f64b3b243ac5

Expected Behavior

Should not show error in any browser.

Actual Behavior

Error shown up in some error. (We found from monitoring tool)

Swiper version

6.8.4

Platform/Target and Browser Versions

Android/Chrome Mobile

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    t0gglesLinked to the t0ggles task

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions