Skip to content

Slider auto marker builder #31

@iruzevic

Description

@iruzevic

There is an issue with slider auto marker builder in the scenario when you have a bunch of items in range.

<Slider
	value={currentValue}
	onChange={handleChange}
	min=0
	max=20
	step=0.1
	markers
/>

You get this.

Image

Maybe count the number of items and output only 10 and spread them equally, or something like that.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions