scratchfoundation / scratchfoundation/scratch-editor

Touch: can't backpack code

Offen
#653 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

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:

  1. Go to the Scratch editor on a mobile while signed in.
  2. Open the backpack.
  3. Place a block in the sprite.
  4. 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

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Ö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

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.