Skip to content

[material-ui][Slider] Fix arrow keys past the end for Slider with custom marks#45050

Merged
mj12albert merged 6 commits intomui:masterfrom
joshkel:slider-custom-marks-nan
Jan 22, 2025
Merged

[material-ui][Slider] Fix arrow keys past the end for Slider with custom marks#45050
mj12albert merged 6 commits intomui:masterfrom
joshkel:slider-custom-marks-nan

Conversation

@joshkel
Copy link
Contributor

@joshkel joshkel commented Jan 17, 2025

Fixes #45049

@joshkel joshkel force-pushed the slider-custom-marks-nan branch from 9482667 to 48c4b12 Compare January 17, 2025 19:28
@ZeeshanTamboli ZeeshanTamboli added the scope: slider Changes related to the slider. label Jan 18, 2025
@mui-bot
Copy link

mui-bot commented Jan 18, 2025

Netlify deploy preview

https://deploy-preview-45050--material-ui.netlify.app/

Bundle size report

Details of bundle changes (Toolpad)
Details of bundle changes

Generated by 🚫 dangerJS against ef2463f

@ZeeshanTamboli ZeeshanTamboli added type: bug It doesn't behave as expected. package: material-ui type: regression A bug, but worse, it used to behave as expected. labels Jan 20, 2025
@zannager zannager requested a review from mnajdova January 20, 2025 16:17
Copy link
Member

@ZeeshanTamboli ZeeshanTamboli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joshkel The fix looks correct, thanks! Just a few suggested changes in the tests. @mj12albert Could you review as well since this is a regression from #44537?

Copy link
Member

@mj12albert mj12albert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good ~ thanks for working on this @joshkel

@mj12albert mj12albert merged commit e6c9d99 into mui:master Jan 22, 2025
@joshkel joshkel deleted the slider-custom-marks-nan branch January 22, 2025 13:52
@oliviertassinari oliviertassinari removed the type: bug It doesn't behave as expected. label Apr 30, 2025
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: regression A bug, but worse, it used to behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Slider with marks and step=null gives NaN when using arrow keys off the end

5 participants