react-component / react-component/slider

Min and Max value same for RC Slider

Open
#807 3 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

I have 1 use case where I have min, max and value is same. In this case the slider track handle is towards min value. I want the track handle to be on Max end.
Can anyone help me in this issue.

Example:
https://codesandbox.io/s/rc-slider-test-forked-sm5py?file=/src/index.js

Screenshot:
Screenshot 2022-01-27 at 6 08 10 PM
'
Screenshot 2022-01-27 at 6 10 35 PM

Thanks in advance!

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 with the linked CodeSandbox reproduction and trace how the slider positions its handle when min, max, and value are equal. Identify the relevant implementation and tests in the repository; done means the handle appears at the maximum end for this case without regressing other slider positions.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.