scratchfoundation / scratchfoundation/scratch-blocks

When duplicating a block, the copy doesn't appear until I move the mouse

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

Nobody has claimed this yet.

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

Description

Expected Behavior

When I duplicate a block, the copy should immediately show up at the mouse pointer position.

Actual Behavior

When I duplicate a block, I just see a shadow. Only when I slightly move the mouse pointer does the copy of the block actually show up.

2018-12-20 21 38 28

Steps to Reproduce

Duplicate a block, and don't move the mouse pointer.

Operating System and Browser

Mac OS, Chrome

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 block duplication in Scratch Blocks on Mac Chrome, keeping the mouse pointer still after duplication. Trace the duplication and rendering behavior around the pointer position; done when the copied block appears immediately without requiring mouse movement.

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.