scratchfoundation / scratchfoundation/scratch-blocks

Size of insertion marker C block with wide contents

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

Nobody has claimed this yet.

needs-triage
Dominant language
JavaScript
Stars
2.8k
Forks
1.6k
Avg merge
4h 51m
Merged PRs (30d)
12

Description

Custom block insertion marker appears to be the wrong width, when you attach a C-block containing a long command block onto a custom block definition hat (the c-block shaped marker takes the width of the longest contained block, instead of the width of the actual c-block):

insertionmarker

From bug hunt: https://github.com/LLK/scratch-gui/issues/3812

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 custom block insertion marker with a C-block containing a long command block attached to a custom block definition hat, using the screenshot and linked bug-hunt issue as context. Trace the insertion-marker sizing behavior and verify that the marker width matches the C-block rather than its longest contained block.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.