scratchfoundation / scratchfoundation/scratch-blocks

Stack Glow causes text in blocks to wiggle on Firefox

Open
#1,736 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Expected Behavior

When a stack is glowing the text on the block stays in the same place as when it's not glowing.

Actual Behavior

It moves to a slightly different position. When the glow flashes on and off rapidly this makes the text wiggle.

flashingtextfirefoxwindows

Steps to Reproduce

Load this project: https://llk.github.io/scratch-gui/develop/#216001494
Run it
Note: the "When I receive [start]" block texts moves slightly.

Operating System and Browser

Firefox on Mac and Windows

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

Start by loading the linked Scratch project in Firefox on Mac or Windows and compare the block text while stack glow flashes. Trace the block rendering and glow behavior responsible for the text position. Done means the text stays in the same place whether the stack is glowing or not, without the reported wiggle.

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.