Skip to content

[Bug] Normal (quick) double click should finish drawing #226

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

Open
1 of 8 tasks
mwilniewiec opened this issue Mar 28, 2025 · 1 comment
Open
1 of 8 tasks

[Bug] Normal (quick) double click should finish drawing #226

mwilniewiec opened this issue Mar 28, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@mwilniewiec
Copy link

mwilniewiec commented Mar 28, 2025

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

Currently to finish drawing of a polygon or linestring the same (or first) point must be clicked twice.
Also ENTER key is handled as drawing finish action.

When the same point is clicked too fast (regular double click) nothing happens.

Expected Behavior

Double click should finish the drawing which is intuitive and expected.
It was like this in nebula.gl with older deck.gl too.

Steps to Reproduce

Draw a polygon, try to finish drawing with a double click.

Environment

  • Framework version: deckgl.gl@9
  • Browser: Chrome
  • OS: Ubuntu

Logs

No response

@mwilniewiec mwilniewiec added the bug Something isn't working label Mar 28, 2025
@mwilniewiec
Copy link
Author

Created a PR for this one:
#225

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant