Skip to content

[slider] Fix transitions#12531

Merged
mbrookes merged 1 commit into
mui:masterfrom
eps1lon:fix-slider-transitions
Aug 25, 2018
Merged

[slider] Fix transitions#12531
mbrookes merged 1 commit into
mui:masterfrom
eps1lon:fix-slider-transitions

Conversation

@eps1lon

@eps1lon eps1lon commented Aug 15, 2018

Copy link
Copy Markdown
Member

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 the lab. label Aug 15, 2018
@eps1lon

eps1lon commented Aug 15, 2018

Copy link
Copy Markdown
Member Author

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
eps1lon force-pushed the fix-slider-transitions branch from 7bab10b to 692c85b Compare August 20, 2018 08:42
@eps1lon

eps1lon commented Aug 20, 2018

Copy link
Copy Markdown
Member Author

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
Copy Markdown
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 type: bug It doesn't behave as expected. scope: slider Changes related to the slider. and removed package: lab Specific to the lab. labels Jan 9, 2021
@oliviertassinari oliviertassinari changed the title [Slider] Fix transitions [slider] Fix transitions May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: slider Changes related to the slider. type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants