scratchfoundation / scratchfoundation/scratch-blocks

Fields opened without focus should be focusable by starting to type

Open
#1,958 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

We prevent focus on fields that have editors on mobile devices. However, many devices have both a touchscreen and a keyboard. If it is not possible to specialize "quiet mode" to devices where an onscreen keyboard would show up, the next best thing would be to make it possible to just start typing after a quietly opening the input, and that causes the input to focus.

This would be a follow-up to https://github.com/LLK/scratch-blocks/issues/1957, since that would increase the times where we are showing quiet mode inputs.

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

Read the linked follow-up issue #1957 first to understand the quiet-mode behavior and why more inputs may open quietly. Then trace the mobile field-opening and keyboard/focus handling in scratch-blocks. Done means a quietly opened field can receive focus when the user starts typing, without removing the intended quiet-mode behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.