contextmenu event is fired after rotating the map on windows
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
**mapbox-gl-js version**: 0.48.0
**browser**: chrome
**operating system**: windows
### Steps to Trigger Behavior
1. press and hold right mouse button on map
2. move the mouse to rotate the map
3. release right mouse button
### Link to Demonstration
This example calls alert() when contextmenu event is fired
https://jsfiddle.net/nzxvehtq/2/
### Expected Behavior
No contextmenu event fired
### Actual Behavior
On Windows, contextmenu event is fired
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
Start by reproducing the linked JSFiddle in Chrome on Windows, then trace the map's contextmenu and right-button rotation event handling. Done means rotating the map with the right mouse button and releasing it no longer fires a contextmenu event.
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
- Clearly specified
- Newbie friendliness
- 45/100