-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
[slider] Thumb alignment for inset slider designs #1530
Comments
Vlad proposed a
|
Was able to make a somewhat decent inset slider using the current API: https://deploy-preview-1609--base-ui.netlify.app/experiments/slider/inset
I haven't thoroughly tested if the pseudo-elements on control would cause any bugs or inaccuracies in the values yet CC @vladmoroz |
@mj12albert The functionality works great - is there a way we could keep the original design (with the circle thumb bigger than the track bar) with the inset slider? |
After #1661 it may be possible to round the poles of the Control and Track using |
The Control/Track do not have to be reversed anymore, and only one pseudo-element is needed to extend the Indicator towards the "min" end |
Feature request
Is it possible to have the "handle/thumb" align with the track when it is at it's min & max?
Right now the handle is going beyond the bounds of the component, it will likely not feel as aligned once used.
I noticed the native html slider does this:
https://www.w3schools.com/howto/howto_js_rangeslider.asp
Native html slider

My use case below where thumb goes beyond the bound

The text was updated successfully, but these errors were encountered: