scratchfoundation / scratchfoundation/scratch-blocks

Context menu shows up in the wrong place on small screens when the page is scrolled

Open
#1,989 0 comments 0 reactions 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

To repro:

  1. On a phone or other small screen, scroll the page (not the workspace)
  2. Add a block on the right side of the the workspace
  3. Long press on the block to bring up the context menu and notice it shows up off to the left somewhere and not under where your finger was pressed.

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 on a phone or small viewport by scrolling the page, adding a block on the workspace's right side, and long-pressing it. Trace the context-menu positioning entry point and compare its placement with the press location; done means the menu appears under the pressed block after page scrolling.

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.