-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Module
- deck.gl-community/arrow-layers
- deck.gl-community/bing-maps
- deck.gl-community/editable-layers
- deck.gl-community/experimental
- deck.gl-community/graph-layers
- deck.gl-community/layers
- deck.gl-community/react
- deck.gl-community/react-graph-layer
Description
When using DrawPolygonByDraggingMode
it is possible to draw the shape using middle mouse button and right mouse button.
Expected Behavior
It should not be possible to draw with middle or right mouse button. It is not expected, it makes it impossible to pan the map with middle mouse button while in this mode, and right click will likely open the context menu that will cover the canvas while drawing.
Steps to Reproduce
Create a editable layer with DrawPolygonByDraggingMode
and try drawing with middle or right mouse button.
Small reproduction example:
https://stackblitz.com/edit/vitejs-vite-nk7ev2hp?file=src%2Fmain.js
Environment
- Framework version: [email protected], deck.gl-community/editable-layers: 9.1.0-beta.5
- Browser: Firefox 139.0.1
- OS: Linux
Logs
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working