scratchfoundation / scratchfoundation/scratch-blocks
Deleting a hat block deletes the whole stack
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 1.6k
- Avg merge
- 4h 51m
- Merged PRs (30d)
- 12
Description
Deleting a hat block — or any top-of-stack block — via right-click then Delete Block also deletes every block connected below it, instead of removing just the top block. Keyboard Delete/Backspace has the same bug. Expected: only the top block is removed and the stack below stays. Undo works if you click the workspace first.
A community fix is open in scratchfoundation/scratch-blocks#3571 (CI clean), awaiting review and testing time.
Reported by @Joeclinton1, who also opened the fix PR.
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 deletion through the right-click Delete Block action and Keyboard Delete/Backspace, then review the community fix in scratchfoundation/scratch-blocks#3571. Done means deleting a hat or top-of-stack block leaves the connected stack intact, while undo still works after clicking the workspace.
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
- 25/100