react-component / react-component/slider

pushable function does not consider the step

Open
#784 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3.1k
Forks
768
Avg merge
11d 22h
Merged PRs (30d)
5

Description

the pushable feature for the range is always fixed number as 1 and does not consider the step

so if you have ranged from 1: 10 and step is 0.1

you can get a range from 1 to 9 and not 9.9

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the range handling behind the pushable feature and tracing how step is applied. Reproduce a range from 1 to 10 with a step of 0.1, then verify that pushable permits reaching 9.9 rather than stopping at 9.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.