Skip to content

[EuiRange] option to change/remove 20 tick limit #6807

@bartvanheukelom

Description

@bartvanheukelom

As per the documentation for EuiRange:

Maximum of 20 ticks allowed
Spacing can get quite cramped with lots of ticks so we max out the number to 20.

While this is a fine limit in general, hardcoding it seems unnecessarily limiting. I'm working on a project with very wide range sliders (think full screen width) with very narrow ticks (labels are 1 character each), and it could easily fit many many more than 20 ticks that way.
Additionally, a hardcoded limit of 20 doesn't really help when the sliders is very short.

As such, I'd like to request an option to override this limit.

Metadata

Metadata

Assignees

Labels

good first issuelow hanging fruitAn issue, often a bug, that is lower effort and clearly ought to be fixed

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions