scratchfoundation / scratchfoundation/scratch-blocks

Cannot tab between block inputs in the palette

Open
#3,458 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Low Prevalence Medium Severity
Dominant language
JavaScript
Stars
2.8k
Forks
1.6k
Avg merge
4h 51m
Merged PRs (30d)
12

Description

Expected Behavior

When a block has multiple input fields, pressing the tab key should move from one input to the next

Actual Behavior

The tab key appears to do nothing when the cursor is in an input field in a block in the palette. It works as expected in the regular workspace.

Steps to Reproduce

  1. Find the "go to x: {} y: {}" block in the blocks palette
  2. Click into the "x" field
  3. Press tab

System Details

Observed in both Chrome and Firefox. Behavior might be slightly worse in Firefox..?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the blocks palette using the “go to x: {} y: {}” block, then compare its tab and focus behavior with the regular workspace where tab works. Trace the palette’s input and keyboard handling; done means pressing Tab moves from the x field to the y field in Chrome and Firefox.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.