react-component / react-component/slider
How to set fixed starting point in between rail start point and end point.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 768
- Avg merge
- 11d 22h
- Merged PRs (30d)
- 5
Description
I Have a custom requirement, to start from the given point which should be in between rail start point and its endpoint. I figured it out the way but did not get any access to Tract Component to customize or override it.
I saw offset is marked as constant 0, which was restricting Slider to create a custom track.
I raised a PR with a fixed of a problem.
Have a look.
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 src/Slider.jsx around the offset constant at line 195 and review the linked pull request #617. Check how the track is created and how the proposed change supports a fixed starting point between the rail endpoints. Done means the custom starting point can be used without preventing normal slider behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 20/100