scratchfoundation / scratchfoundation/scratch-blocks
Collapsed block comments can't be dragged by their title text
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
Comments can always be dragged when the mouse is hovered over the title bar.
Actual Behavior
Collapsed block comments can't be dragged by their title text (dragging the rest of the comment works, though).
Steps to Reproduce
Create a block comment (right click a block and select "add comment"), then collapse it. Try to drag it by the title text. Note that instead of grabbing the comment, the workspace is scrolled.
Operating System and Browser
Firefox 65.0b11, Linux (Debian).
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 a collapsed block comment in the workspace, then trace the drag handling for the comment title text. Done means dragging from the title bar moves the collapsed comment instead of scrolling the workspace, while dragging the rest of the comment continues to work.
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
- 48/100