scratchfoundation / scratchfoundation/scratch-blocks
Fields opened without focus should be focusable by starting to type
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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