react-component / react-component/slider
Pushable With Number Does Not Work
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 768
- Avg merge
- 11d 22h
- Merged PRs (30d)
- 5
Description
Hello,
I'm using 8.6.1, and the following code sample:
<Range
min={0}
max={1440}
allowCross={false}
pushable={60}
step={15}
/>
Does not result in pushable nodes. If I set the pushable attribute to true instead, it does work, but sets the minimum gap to the step which is 15 (rather than my intended 60).
Am I misunderstanding how the pushable property is supposed to work (based on the readme.md description) or is there a bug in this version?
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 README.md's description of the pushable property and the Range component entry point, reproducing the provided example with step={15} and pushable={60}. Confirm the intended minimum gap for numeric pushable values; done means the behavior is clarified or the reported case has a regression test and corresponding fix.
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
- Needs clarification
- Newbie friendliness
- 32/100