scratchfoundation / scratchfoundation/scratch-blocks
Field textinput does not resize properly
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 1.6k
- Avg merge
- 4h 51m
- Merged PRs (30d)
- 12
Description
A textinput does not resize properly when used just as a "field" (as opposed to being use as an "input"). When the field gets the focus, the editable field resizes the size of the block, rather than the size of field you are editing.
Moved from LLK/scratch-www#1328
/cc @paulabonta
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
Start by reproducing the resizing behavior when a textinput is used as a field rather than an input and receives focus. Trace how the editable field and containing block determine their sizes, then verify that focusing the field resizes only the field being edited rather than the whole block.
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
- Needs clarification
- Newbie friendliness
- 35/100