Skip to content

Uses Passive Event Listeners to Improve Scrolling Performance #6233

Open
@rtarnaud

Description

@rtarnaud

According to the Google devs, it is a good practice to flag every wheel, mousewheel, touchstart, and touchmove event listener with the passive attribute, see here.
There is a simple feature detection test to implement in order to see if the browser supports this flag here and it seems that the only place in Semantic UI where this flag needs to be passed is in one of the helper functions for managing events.

Is it possible to implement this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions