Closed oliviertassinari closed 2 weeks ago
Seems related to the transition:
The demos in the docs work... so it might be specific to some styles in this demo.
I did a quick investigation and there's a space being added to the SlideTransition classnames, perhaps involving the overrideResolver on the styled component, but I'm not being able to evolve much futher than that. Does anyone have more insights about it ? @LukasTy @flaviendelangle
If that can help, the older docs build with the bug I found is this one https://github.com/mui/material-ui/pull/43363
@romgrk could it be an unexpected side effect?
Yes, @oliviertassinari has an open & approved PR to restore the behavior: https://github.com/mui/material-ui/pull/43537
Oh wow, I would have never expected an extra space to cause a bug like this. I guess something broken around https://github.com/reactjs/react-transition-group/blob/2989b5b87b4b4d1001f21c8efa503049ffb4fe8d/src/CSSTransition.js#L11. Too bad that this dependency seems unmaintained, we can't fix it there.
We should also probably think about running mui-x tests in the core repo, it would make it more safe to refactor the core.
cc @mui/code-infra
We should also probably think about running mui-x tests in the core repo, it would make it more safe to refactor the core.
🙂 One could almost argue that X packages and @mui/material belong in the same repository.
Looks like the issue has been resolved with this fix: https://github.com/mui/material-ui/pull/43537 and is no loner present in the deployed documentation.
:warning: This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.
@oliviertassinari: How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.
Steps to reproduce
Steps:
Current behavior
https://github.com/user-attachments/assets/1e38a1ed-28f5-4c32-842e-4c1719c46db7
Context
https://x.com/bweston92/status/1829792875955028046