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] Fix transitions #12531

Merged
merged 1 commit into from
Aug 25, 2018
Merged

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Aug 15, 2018

Behavior when focusing the slider and changing values via arrow key:
before (actual):
mui-slider outspace-before
after (expect/on this branch):
mui-slider outspace-after

This also fixes inconsistent transition behavior for the box-shadow and resizing of the thumb i.e. no transition on mousedown but a transition on mouseup.

@oliviertassinari oliviertassinari added the package: lab Specific to @mui/lab label Aug 15, 2018
@eps1lon
Copy link
Member Author

eps1lon commented Aug 15, 2018

CI errors seem to be unrelated because CI did not run on some PRs that introduced errors (e.g. #12244).

I'm working on fixes to those errors.

Fixes track behavior when slider was focused and values
were changed via arrow keys. The track used to outspace
the thumb.
@eps1lon
Copy link
Member Author

eps1lon commented Aug 20, 2018

Rebased with master to fix the unrelated issues. PR is ready for review. I hope the gifs illustrate the issue sufficiently.

@mbrookes mbrookes merged commit 4487161 into mui:master Aug 25, 2018
@mbrookes
Copy link
Member

@eps1lon Thanks!

@oliviertassinari oliviertassinari changed the title [Slider] fix transitions [Slider] Fix transitions Aug 26, 2018
@eps1lon eps1lon deleted the fix-slider-transitions branch September 22, 2018 21:58
marcelpanse pushed a commit to marcelpanse/material-ui that referenced this pull request Oct 2, 2018
Fixes track behavior when slider was focused and values
were changed via arrow keys. The track used to outspace
the thumb.
@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work component: slider This is the name of the generic UI component, not the React module! and removed package: lab Specific to @mui/lab labels Jan 9, 2021
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 this pull request may close these issues.

3 participants