Skip to content

@slidy/core: use passive listeners to improve scrolling performance #134

@iryna-lelyk

Description

@iryna-lelyk

Hi @Valexr,
I have been testing page with sliders in Lighthouse and have gotten report about using passive listeners to improve scroll performance.
This issue was related to @slidy/core package.

So I would really appreciate it if you could add passive modificator for wheel and touch event listeners like this:

document.addEventListener('wheel', onWheel, {passive: true});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions