Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lxregistry opened this issue Jun 28, 2024 · 1 comment

Comments

@lxregistry
Copy link

  • [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.

@northtron
Copy link

Your fiddle example is NOT using the latest versions at all.

Fiddle shows:
Leaflet @ 1.02, latest version is 1.9.4 (from May 2023)
Draw @ 0.4.7, latest is v 0.4.14 (from 2018)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants