react-component / react-component/input-number
当设置的step为小数是,blur也会触发onChange事件
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 323
- Forks
- 188
- Avg merge
- 20h 3m
- Merged PRs (30d)
- 1
Description
当step设置为形如:0.1 1.1等小数
value设置为形如:1.0, 1.1等小数时
blur也会触发onChange事件
https://codepen.io/pyuyu/pen/KKzJWWp?editable=true&editors=001%3Dhttps%3A%2F%2Fant.design%2Fcomponents%2Finput-number-cn%2F
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
Start with the linked CodePen reproduction and trace the input-number blur and onChange handling for decimal step values such as 0.1 and values such as 1.0 or 1.1. Done means blurring these values no longer emits an unexpected onChange event.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100