Skip to content

Conversation

@bernardobelchior
Copy link
Member

@bernardobelchior bernardobelchior commented Nov 14, 2025

Fixes PreferencesMenu flaky test by patching Base UI's useScrollLock.

The fix was merged upstream (mui/base-ui#3218), but there are many breaking changes, so this is meant as a short-term fix. When the scheduler team upgrades Base UI to 1.0.0-beta.5 this patch can be removed.

Runs (to ensure it's actually fixed):

  1. #1
  2. #2
  3. #3

@bernardobelchior bernardobelchior added type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. scope: scheduler Changes related to the scheduler. labels Nov 14, 2025
@mui-bot
Copy link

mui-bot commented Nov 14, 2025

Deploy preview: https://deploy-preview-20331--material-ui-x.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/x-data-grid 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-pro 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-premium 0B(0.00%) 0B(0.00%)
@mui/x-charts 0B(0.00%) 0B(0.00%)
@mui/x-charts-pro 0B(0.00%) 0B(0.00%)
@mui/x-charts-premium 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers-pro 0B(0.00%) 0B(0.00%)
@mui/x-tree-view 0B(0.00%) 0B(0.00%)
@mui/x-tree-view-pro 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 90eda49

@bernardobelchior bernardobelchior force-pushed the patch-base-ui-scroll-lock branch 2 times, most recently from c40dbb4 to 0433dd3 Compare November 17, 2025 11:14
@bernardobelchior bernardobelchior force-pushed the patch-base-ui-scroll-lock branch from 0433dd3 to 90eda49 Compare November 17, 2025 12:36
@bernardobelchior bernardobelchior marked this pull request as ready for review November 17, 2025 12:55
@bernardobelchior bernardobelchior changed the title [scheduler] Fix PreferencesMenu flaky test [scheduler] Fix flaky PreferencesMenu test Nov 17, 2025
@bernardobelchior bernardobelchior requested a review from a team November 17, 2025 15:36
Copy link
Member

@flaviendelangle flaviendelangle left a comment

Choose a reason for hiding this comment

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

Quick and efficient 😆

@bernardobelchior bernardobelchior merged commit a1556e8 into mui:master Nov 17, 2025
21 checks passed
@bernardobelchior bernardobelchior deleted the patch-base-ui-scroll-lock branch November 17, 2025 17:04
bernardobelchior added a commit to bernardobelchior/mui-x that referenced this pull request Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: scheduler Changes related to the scheduler. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants