Skip to content

Chrome logs "Intervention" error when dragging with touch #135

Closed

Description

@gbenthomas

Repro Steps:

-Use simple example (https://bertrandg.github.io/angular-split/#/examples/simple-split)
-Use responsive emulator in Chrome and drag with emulated touch (or use device with touch)
-Chrome logs the following error in the console: "[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080"

Activity

  1. teetlaja commented on Dec 2, 2019

    @teetlaja

    Some solutions for that? Having the same problem with nested split.

  2. MRROOX commented on Dec 29, 2019

    @MRROOX

    I have the same problem... any solution?

  3. helder-a-reis commented on May 19, 2020

    @helder-a-reis

    I had the same problem. After reading this explanation https://developers.google.com/web/updates/2017/01/scrolling-intervention, where it states "We've found that a large majority of impacted pages are fixed relatively easily by applying the touch-action CSS property whenever possible.", I was able to suppress the error by adding

    as-split {
        touch-action: pan-y;
    }
    

    to my CSS (for direction="vertical", you might have to adjust to your case).

  4. added a commit that references this issue on Jul 30, 2020
    a8bd339
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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