Skip to content

Added non-passive event listener to a scroll-blocking 'touchstart' event. #937

@gustawdaniel

Description

@gustawdaniel

Is your feature request related to a problem? Please describe.
In chrome I see warning

apexcharts.esm.js:7 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952

Describe the solution you'd like
Problem was described here

angular/components#4221

And it seems that we should use

document.addEventListener('touchstart', handler, {passive: true});

Describe alternatives you've considered
It can be problem from one of dependencies of apexchart. I can't find touchstart in source code of apexcharts.

Additional context
I attaching screenshot

Screenshot from 2019-09-26 12-19-41

I experienced problem using vue.

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