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

Delete vertex deletes whole polygon #953

Open
csimpi opened this issue Jan 3, 2020 · 1 comment
Open

Delete vertex deletes whole polygon #953

csimpi opened this issue Jan 3, 2020 · 1 comment
Labels
bug ui Buttons & user interactions

Comments

@csimpi
Copy link

csimpi commented Jan 3, 2020

mapbox-gl-js version: newest
mapbox-gl-draw version: newest

Steps to Trigger Behavior

It's randomly happening:

  1. Select a polygon
  2. Select a vertex (point), -> the yellow point goes bigger
  3. Delete the vertex

https://gifyu.com/image/mQuD

Expected Behavior

When I select a vertex and delete it (Del button or Trash icon) the selected vertex should be deleted.

Actual Behavior

Sometimes the whole polygon disappears sometimes only the selected vertex. I've tried many many times.

@kkaefer kkaefer added bug ui Buttons & user interactions labels Jan 7, 2020
@kkaefer
Copy link
Member

kkaefer commented Jan 7, 2020

This could have been fixed by #943. However, without a more explicit example, e.g. a specific GeoJSON and specific points to click on and trash, I can't verify that it did. The above mentioned fix will be available in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ui Buttons & user interactions
Projects
None yet
Development

No branches or pull requests

2 participants