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

Customizing the slider handle in <RangeSlider /> #3000

Closed
amaatouq opened this issue Oct 7, 2018 · 1 comment
Closed

Customizing the slider handle in <RangeSlider /> #3000

amaatouq opened this issue Oct 7, 2018 · 1 comment

Comments

@amaatouq
Copy link

amaatouq commented Oct 7, 2018

Environment

  • Package version(s): 3.7.0

Question

I want to customize the Slider Handle in <RangeSlider /> such that I can have a different handle color for the two ends of the slider (i.e., the start handle will be green and the end handle will be red value = [start, end]). I also would like to change the color of the TrackFill and the shape of the handles (e.g., to match the shape of the <Slider> handle).

My apologies if this is very obvious, but I am just getting started with this whole UI stuff!

@giladgray
Copy link
Contributor

@amaatouq if you want to customize RangeSlider then you should use MultiSlider and build exactly what you need. However, changing the handle color is not currently supported. That'd be a cool feature and easy to add with the button intent mixins, but it's not a use case that's ever arisen for us. Coloring the track has been more than enough.

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

No branches or pull requests

2 participants