react-component / react-component/input-number
当我设置了precision,可否等我光标离开的时候,再进行四舍五入转换?
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 323
- Forks
- 188
- Avg merge
- 20h 3m
- Merged PRs (30d)
- 1
Description
当我设置了precision,比如0,我输入3.6的时候,输入框中的数字立马变成了4,导致我后面输入789的时候,就变成了4789,感觉体验不好。可否等我光标离开的时候,再根据precision进行四舍五入转换?
Contributor guide
No contributing guide indexed for this repository
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
No file or test is named in the issue. Start by tracing the input's precision and rounding handling; done means typing 3.6 with precision 0 keeps the editable value until the cursor leaves, then applies rounding.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100