-
-
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
[system] Remove Box clone prop #18496
Comments
I can't explain it, we won't keep the |
No big deal for me. I can remove Just asking, why you want to remove it? |
To avoid issues like this one and to support the system props "everywhere". |
Oh! I forgot that you guys are planning to include the system api in core. 😊 |
@mnajdova In #22982, I have advocated for removing the
However, I have tried with styled-components and emotion, the injection ordered seemed to be correct, I have no idea how. Do you know? I'm surprised. Should we ask each library's maintainer to make sure this API is reliable and stable going forward? |
Done in #26031 by @m4theushw |
Current Behavior 😯
clone
prop works perfectly fine in development. But when I saw the production build of the app, there styling is ignored which is applied by<Box clone/>
component.Steps to Reproduce 🕹
I attached some images to clarify the scenario with the above components.
Production Build:
margin-bottom
is not applied to the buttonDevelopment Build:
margin-bottom
is applied to the buttonYour Environment 🌎
I hope component order is not the problem
The text was updated successfully, but these errors were encountered: