-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[base-ui] Fix mergeSlotProps className join order #39616
[base-ui] Fix mergeSlotProps className join order #39616
Conversation
Netlify deploy previewhttps://deploy-preview-39616--material-ui.netlify.app/ Bundle size reportDetails of bundle changes (Toolpad) |
After #39032 (comment) I have been leaving the It turns outs if Luckily |
I agree with these changes 👍🏼 there should be consistency. I won't approve yet because I don't have the context about which order is correct, so I would wait for either @mnajdova or @michaldudak to review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch and fix! Implementing Material UI components and testing them with Base UI primitives is the best thing that could happen for this library.
Fixes #39601
Before: https://codesandbox.io/s/merge-slot-props-classes-order-w9tkzp?file=/src/App.tsx
After: https://codesandbox.io/s/https-github-com-mui-material-ui-pull-39616-syxp9x?file=/src/App.tsx