scratchfoundation / scratchfoundation/scratch-editor
stage clipping on mobile
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 281
- Forks
- 276
- Avg merge
- 7d 8h
- Merged PRs (30d)
- 6
Description
Expected Behavior
Actual Behavior
Steps to Reproduce
Steps to reproduce the behavior:
- Go to 'https://scratch.mit.edu/projects/1217622680/' on a phone
Setting the canvas css to max-width:480px; width=100%; height:75vw seems to fix the display issues but the mousex and mousey incorrectly register adjusted coordinates
System Details
Production issue on both android and iphone
Screenshots
If applicable, add screenshots to help explain your problem.
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 the issue on a phone at https://scratch.mit.edu/projects/1217622680/ and inspect the stage canvas sizing and pointer-coordinate handling; no source files or tests are named in the issue. Done means the stage is no longer clipped on Android and iPhone, while mousex and mousey still correspond to the correct canvas coordinates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100