Skip to content

MouseEvent.mozPressure is deprecated. MouseEvent.mozInputSource is deprecated. #1072

@lxregistry

Description

@lxregistry
  • [x ] I'm reporting a bug, not asking for help
  • [x ] I've looked at the documentation to make sure the behaviour is documented and expected
  • [ x] I'm sure this is a Leaflet Draw code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
  • [x ] I've searched through the issues to make sure it's not yet reported

How to reproduce

MouseEvent.mozPressure is deprecated. Use PointerEvent.pressure instead. Util.js:15:3
MouseEvent.mozInputSource is deprecated. Use PointerEvent.pointerType instead.

  • Leaflet version I'm using: latest
  • Leaflet Draw version I'm using:latest
  • Browser (with version) I'm using:
  • OS/Platform (with version) I'm using:
  • step 1
  • step 2

What behaviour I'm expecting and which behaviour I'm seeing

Minimal example reproducing the issue

  • [x ] this example is as simple as possible
  • [ x] this example does not rely on any third party code

Using jsfiddle or another example site.

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