react-component / react-component/slider
Using styles.( track | handle ) can't replace ( track | handle )Styles property
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 768
- Avg merge
- 11d 22h
- Merged PRs (30d)
- 5
Description
since trackStyles can be used to set different colors for multiple tracks using the code below,
trackStyles = {[{ backgroundColor: 'red' }, { backgroundColor: 'blue' }]}
can set only one color to styles.track (IDK the usage of styles.tracks but, styles.tracks are not even able to be seen if there is track sets)
So I think trackStyles or handleStyles should not be deprecated yet.
If now, want to know specific usage of styles.track or styles.handle
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 by reading the slider API and the behavior of the styles.track, styles.handle, trackStyles, and handleStyles props, then reproduce the reported case with multiple tracks. Done means the supported replacement or deprecation behavior is clarified and covered by the relevant documentation or tests.
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
- 35/100