Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: clickable ticks #146

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

feat: clickable ticks #146

wants to merge 1 commit into from

Conversation

markovd18
Copy link

This PR introduces clickable ticks. It is convenient for user to be able to click on individual ticks and slider behaving accordingly - moving to the position, described by the clicked tick.

This is especially convenient, for sliders styled such as the one below:
image
When the ticks are rendered over the rail, user clicking/touching the tick (being the small circle), the slider does not move and appears "broken" and the behavior has to be implemented manually with custom onClick handlers in projects, importing this library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant