scratchfoundation / scratchfoundation/scratch-blocks
Block comments have incorrect anchor points on custom procedure definition blocks.
Open
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
Block comments should be anchored to the vertical middle of the 'end' edge (e.g. right edge when in LTR, and left edge when in RTL) of a block.
Actual Behavior
This is not the case for block comments attached to custom procedure definition blocks. See GIF below.

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 reported anchor behavior using a custom procedure definition block and compare block-comment placement in left-to-right and right-to-left layouts. The issue is done when comments attach to the vertical middle of the block's end edge in both directions.
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
- 35/100