react-component / react-component/slider
Incorrect value displaying if min changes to value which is more than max after first render
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 768
- Avg merge
- 11d 22h
- Merged PRs (30d)
- 5
Description
Steps to reproduce:
- Set up min to 100 max to 500, value to 600
- Change min to 600
Expected: handle invisible
Current: handle positioned on very big distance.
Codesandbox to repoduce: https://codesandbox.io/s/summer-butterfly-2djoxi?file=/src/App.js
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 CodeSandbox reproduction linked in the issue and trace how the slider handles updates when min becomes greater than max after the first render. Verify that the handle is hidden rather than positioned far outside the slider when the reported values are used.
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
- 48/100