react-component / react-component/slider
Feature request: apply "track" styling to ends of rail
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 768
- Avg merge
- 11d 22h
- Merged PRs (30d)
- 5
Description
The "Multi Range with custom track and handle style" example on http://react-component.github.io/slider/examples/range.html shows how you can customize the sections between handles. However, the spaces on the ends have to be the same color, because the trackStyles array is used only for sections between handles. This array should begin for the left-most segment.
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 “Multi Range with custom track and handle style” example at react-component.github.io/slider/examples/range.html, then trace how the trackStyles array is consumed in the slider implementation. Confirm the expected ordering for the left-most, between-handle, and right-most segments and add coverage showing that end segments can receive distinct styling.
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
- 45/100