mapbox / mapbox/mapbox-gl-draw
Getting into direct_select mode via changeMode doesn't trigger cursor update
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 612
- Avg merge
- 8d 9h
- Merged PRs (30d)
- 5
Description
**mapbox-gl-js version**: 0.45.0
**mapbox-gl-draw version**: 1.0.9
### Steps to Trigger Behavior
1. Use `changeMode` with `featureId` to get into `direct_select` mode
2. Hover the mouse above a vortex of a polygon/polyline
### Expected Behavior
The mouse should change to pointer, just like when coming from `simple_select` mode.
### Actual Behavior
The mouse does not change to pointer.
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 with mapbox-gl-draw 1.0.9 by entering direct_select through changeMode with a featureId, then hovering over a polygon or polyline vertex. Compare the cursor behavior with entry from simple_select. Done means the cursor changes to a pointer in direct_select mode as described by the expected behavior.
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
- 35/100