Skip to content

Conversation

DiegoAndai
Copy link
Member

@DiegoAndai DiegoAndai commented Nov 28, 2024

Closes: #41388
The explanation for the fix: #41388 (comment)

ScrollbarSize is an internal component, not exported, and we don't need to provide a ref, so there's no need for ref merging.

Before and after: https://github.com/DiegoAndai/material-ui-issue-41388-repro
Before is the main branch
After is the with-fix branch that uses this PR's build

@DiegoAndai DiegoAndai added scope: tabs Changes related to the tabs. package: material-ui integration: react 19 About improving React 19 support. labels Nov 28, 2024
@DiegoAndai DiegoAndai self-assigned this Nov 28, 2024
@mui-bot
Copy link

mui-bot commented Nov 28, 2024

Netlify deploy preview

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

Bundle size report

Details of bundle changes (Toolpad)
Details of bundle changes

Generated by 🚫 dangerJS against 3d4aa7f

Copy link
Member

@aarongarciah aarongarciah left a comment

Choose a reason for hiding this comment

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

🚀

@DiegoAndai DiegoAndai merged commit cdb03a5 into mui:master Nov 28, 2024
22 checks passed
@DiegoAndai DiegoAndai deleted the fix-scrollbarsize-ref branch November 28, 2024 13:38
DiegoAndai added a commit to DiegoAndai/material-ui that referenced this pull request Nov 28, 2024
@oliviertassinari oliviertassinari added the type: bug It doesn't behave as expected. label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration: react 19 About improving React 19 support. scope: tabs Changes related to the tabs. type: bug It doesn't behave as expected.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[material-ui][Tabs] Scrollable variant fails test when clicking the tab (error reading 'offsetHeight')
4 participants