scratchfoundation / scratchfoundation/scratch-blocks

Procedure input blocks don't have cursor: grab

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

Nobody has claimed this yet.

help wanted Low Prevalence Low Severity priority 4
Dominant language
JavaScript
Stars
2.8k
Forks
1.6k
Avg merge
4h 51m
Merged PRs (30d)
12

Description

Expected Behavior

All reporter blocks have cursor: grab applied via CSS.

Actual Behavior

Input blocks dragged out from procedure definitions don't have cursor: grab right away (they show the default cursor when hovered over).

Steps to Reproduce

Drag out an input from a procedure definition, then hover your mouse over it. Note the cursor image is the default one, rather than the grab one.

In this screenshot, only the "my variable" block (and the "define" block itself) has cursor: grab:

A scratch-blocks workspace: "define my block (input) (boolean)", "my variable", "input", "boolean"

Note that when I switched to a different sprite and back (reloading the workspace), they do have cursor: grab; they are missing it only after dragged out from the "define" block, before the workspace has been reloaded.

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

No file or test is named in the issue. Reproduce the problem by dragging an input from a procedure definition and inspect the cursor styling for the dragged-out block; done means it shows the grab cursor immediately, without reloading or switching sprites.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.