Skip to content

Using deprecated mousewheel event #59

Open

Description

@Joncom

The engine uses: https://developer.mozilla.org/en-US/docs/Web/API/Element/mousewheel_event

var delta = event.wheelDelta ? event.wheelDelta : (event.detail * -1);

var delta = event.wheelDelta ? event.wheelDelta : (event.detail * -1);

which is apparently deprecated

This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible

and non-standard

This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

Activity

  1. Joncom commented on Jul 9, 2020

    @Joncom
    CollaboratorAuthor

    Weltmeister "touch scrolling" is currently broken in Firefox due to this issue.

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