Module
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-jh6kgn8t
Environment
- Framework version: deck.gl@9.2.8, deck.gl-community/editable-layers: 9.2.5
- Browser: Firefox 139.0.1, Chrome
- OS: Linux, Windows
Logs
No response
Module
Description
When using
DrawPolygonByDraggingModeit 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
DrawPolygonByDraggingModeand try drawing with middle or right mouse button.Small reproduction example:
https://stackblitz.com/edit/vitejs-vite-jh6kgn8t
Environment
Logs
No response