scratchfoundation / scratchfoundation/scratch-blocks
Keyboard number input disabled on touchscreen chromebook
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 1.6k
- Avg merge
- 4h 51m
- Merged PRs (30d)
- 12
Description
Expected Behavior
When entering a number input on a chromebook with a touchscreen it should be possible to type numbers on the keyboard, or select numbers on the numberpad.
Actual Behavior
Regardless of whether the input is selected by touching the screen or clicking on the touchpad the soft numberpad appears. At that point you can only enter numbers with the numberpad, not on the keyboard. There's also a missing asset (backspace).

Note - the numberpad does NOT appear on an actual android tablet. It's just in the native android app on a chromebook.
Operating System and Browser
Samsung Chromebook Pro (Webview)
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
Inspect core/field_number.js around lines 168-169 and reproduce the behavior in the Samsung Chromebook Pro Webview described in the issue. Compare keyboard entry with the soft numberpad and check the missing backspace asset; done means keyboard numbers remain usable and backspace is available without changing the behavior on Android tablets.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100