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

[Slider] Thumb shifts to the right upon clicking #76

Closed
danilo-leal opened this issue Jan 17, 2024 · 1 comment · Fixed by #373
Closed

[Slider] Thumb shifts to the right upon clicking #76

danilo-leal opened this issue Jan 17, 2024 · 1 comment · Fixed by #373
Assignees
Labels
bug 🐛 Something doesn't work component: slider This is the name of the generic UI component, not the React module!

Comments

@danilo-leal
Copy link
Contributor

danilo-leal commented Jan 17, 2024

Search keywords: slider, base-ui, thumb

As surfaced in mui/material-ui#40332, when you click on the Slider's thumb, there's a slight shift to the right, making it stay misaligned in relation to the tip of the cursor.

@michaldudak michaldudak transferred this issue from mui/material-ui Feb 27, 2024
@michaldudak michaldudak changed the title [base-ui][Slider] Thumb shifts to the right upon clicking [Slider] Thumb shifts to the right upon clicking Feb 27, 2024
@michaldudak michaldudak added component: slider This is the name of the generic UI component, not the React module! bug 🐛 Something doesn't work labels Feb 27, 2024
@mj12albert
Copy link
Member

In #373 I've fixed it so that clicks that land on the thumb will not change the value or shift the thumb: https://deploy-preview-373--base-ui.netlify.app/experiments/slider/

@mj12albert mj12albert self-assigned this May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: slider This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants