react-component / react-component/slider

How to position rc-slider-dots uniformly on rc-slider-track

Open
#421 3 comments 5 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

Is there a way where I can pass left style to dots on rc slider track?

My requirement is to have uniform spacing between different dots. For example, if I have

min = 100
max = 1000
marks = [100,105,110... 800, 900 ,1000]

I want to equal spacing between all the dots being created by marks.

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

The issue names no files, tests, or entry points. Begin by locating the mark and dot rendering entry points, then compare the requested equal-spacing behavior with the current marks semantics; done means the requested positioning behavior is implemented or clearly supported and covered for the example.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
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.