Difficulties Setting Script Name
未关闭
- 主要语言
- JavaScript
- 星标
- 60
- 派生
- 7
- PR 合并指标
- 30 天内没有已合并 PR
描述
When changing the script name, every time you send a keystroke, the input box will loose focus. This means that you will have to click the input box every time you type a letter.
This seems to be an issue with React rendering the page every time you type: https://stackoverflow.com/questions/42573017/in-react-es6-why-does-the-input-field-lose-focus-after-typing-a-character
贡献指南
这个仓库没有索引到贡献指南
调研方向
通过编辑脚本名称输入框来重现问题,并观察焦点何时丢失。首先定位用于渲染此输入框的 React 组件;当连续输入字符时该字段始终保持焦点,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, react
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100