scratchfoundation / scratchfoundation/scratch-blocks

Block comments have incorrect anchor points on custom procedure definition blocks.

Open
#1,628 0 comments 1 reaction 0 assignees View on GitHub

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.

proc-def-comment-anchor

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.