scratchfoundation / scratchfoundation/scratch-blocks
ENA-136 rightclicking on a block in the editor can close the context menu in the same click
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 1.6k
- Avg merge
- 4h 51m
- Merged PRs (30d)
- 12
Description
Expected Behavior
When opening a menu by rightclicking on a block in the editor, the menu shouldn't be able to close again because of that same click.
Actual Behavior
When moving your mouse while rightclicking, you may sometimes immediately select one of the options with the same rightclick you opened them with.
Steps to Reproduce
Right click on a block, move your mouse over one of the options and then let go of the right mouse button again.
Or, just rightclick while moving your mouse down and to the right.
Operating System and Browser
Windows 10, Firefox 77 and Chrome 83
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 issue in the editor using the listed right-click and mouse-movement steps in Firefox or Chrome on Windows. Trace the context-menu event handling and verify that releasing the same right-click cannot select an option or close the menu opened by that click.
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