scratchfoundation / scratchfoundation/scratch-blocks

Collapsed block comments can't be dragged by their title text

Open
#1,872 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.