scratchfoundation / scratchfoundation/scratch-editor
Touch: can't backpack code
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 281
- Forks
- 276
- Avg merge
- 7d 8h
- Merged PRs (30d)
- 6
Description
https://scratch.mit.edu/discuss/topic/865743/
Expected Behavior
When dragging code to the backpack, it lights up.
When dropping code over the backpack, it gets stored in the backpack.
Actual Behavior
The backpack doesn't always light up.
When dropping the code normally, it doesn't get stored even if the backpack lights up. To get the code into the backpack, one has to activate the backpack with a different finger than the one the blocks are dragged with.
Steps to Reproduce
Steps to reproduce the behavior:
- Go to the Scratch editor on a mobile while signed in.
- Open the backpack.
- Place a block in the sprite.
- Drag and drop the block over the backpack
→ the block doesn't get stored
Screenshots
https://github.com/user-attachments/assets/3b24ca1d-24e0-408a-8757-633c97096547
System Details
Android, Chrome 138
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
Start by reproducing the backpack drag-and-drop behavior in the Scratch editor on Android with Chrome 138, then trace the touch handling for dragging blocks and activating the backpack. Done means dragging a block with one finger consistently highlights the backpack and stores the block when it is dropped there.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100