scratchfoundation / scratchfoundation/scratch-editor
Touch: can't backpack code
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 283
- Forks
- 276
- Ø Merge
- 7 T. 8 Std.
- Gemergte PRs (30 T.)
- 6
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, das Drag-and-drop-Verhalten von backpack im Scratch-Editor unter Android mit Chrome 138 nachzustellen, und verfolge anschließend die Touch-Verarbeitung zum Ziehen von Blöcken und zum Aktivieren von backpack. Als erledigt gilt die Aufgabe, wenn das Ziehen eines Blocks mit einem Finger backpack zuverlässig hervorhebt und den Block dort beim Ablegen speichert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- frontend, mobile-dev
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 55/100