scratchfoundation / scratchfoundation/scratch-blocks
Context menu shows up in the wrong place on small screens when the page is scrolled
Open
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:
- On a phone or other small screen, scroll the page (not the workspace)
- Add a block on the right side of the the workspace
- 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
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 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