mapbox / mapbox/mapbox-gl-draw
cannot drag back to its original coordinates
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 612
- Avg merge
- 8d 9h
- Merged PRs (30d)
- 5
Description
tested with https://www.mapbox.com/mapbox-gl-js/example/mapbox-gl-draw/ on Firefox
### Steps to Trigger Behavior
1. draw polygon
2. drag polygon a bit
3. drag polygon back to original position
### Expected Behavior
polygon should be moved to dragged position
### Actual Behavior
polygon jumped the original position and not able to stop the original coordinates.

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue from the mapbox-gl-draw example on Firefox by drawing and dragging a polygon back to its starting coordinates. Trace the polygon-drag behavior from that example and verify that the polygon can be released at the dragged position instead of snapping back to its original coordinates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100