react-component / react-component/slider

How to set fixed starting point in between rail start point and end point.

Open
#618 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

I Have a custom requirement, to start from the given point which should be in between rail start point and its endpoint. I figured it out the way but did not get any access to Tract Component to customize or override it.
I saw offset is marked as constant 0, which was restricting Slider to create a custom track.
I raised a PR with a fixed of a problem.
Have a look.

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 src/Slider.jsx around the offset constant at line 195 and review the linked pull request #617. Check how the track is created and how the proposed change supports a fixed starting point between the rail endpoints. Done means the custom starting point can be used without preventing normal slider behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.