scratchfoundation / scratchfoundation/scratch-editor

Touch: can't backpack code

オープン
#653 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
JavaScript
スター
283
フォーク
276
平均マージ
7日 8時間
マージ済み PR(30日)
6

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、Chrome 138 を搭載した Android の Scratch エディターで backpack のドラッグ&ドロップ動作を再現し、次にブロックのドラッグと backpack の有効化に関するタッチ処理を追跡します。1 本の指でブロックをドラッグすると backpack が常にハイライトされ、そこにドロップしたときにブロックが保存されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
frontend, mobile-dev
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。