axetroy / axetroy/react-codebox

输入完,想要修改某项,点击某项时,文字被选中

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
44
Forks
9
PR merge metrics
No merged PRs in 30d

Description

如题,比如第三个输入框数字输入有误,我再点击去改,文字莫名被选中了...
话说难道不应该是focused的状态吗?现在貌似是文字被全选了???

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the behavior in the verification-code input component: enter an incorrect number in a later field, then click that field again. Trace the focus and selection behavior, and consider the issue done when editing the field focuses it without unexpectedly selecting all of its text.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.