-
-
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
[TextField][material-ui] Standard variant styles rendering incorrectly in Next.js app dir #39157
Comments
i want to work on this issue |
The root cause is that on the server 'label + &': {
marginTop: 16,
}, It could be possible to use a different CSS selector that could handle this edge case, are you interested in investigating this further? @NmN03jain |
@mj12albert Ok I'll try |
Thanks 🙌 I've assigned it to you, let us know if you need any help, e.g. with tests or the CI @NmN03jain PS: be sure to read the contributing guide ~ |
@Matt-roki Thanks for reporting this btw ~ I've updated the repro in the description |
ci/circleci: test_static |
I think this can be closed by the new integration package |
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example: https://codesandbox.io/p/github/mj12albert/nextjs-rsc-standard-textfield/main?file=%2Fsrc%2Fapp%2Fpage.tsx%3A7%2C1
style
tags being rendered inside the componentOn initial load the textfield standard has the border half way through the input.
<TextField id="standard-basic" label="Standard" variant="standard" />
On load:
After load:
This is the full code of the component
import { TextField } from '@mui/material' const ContactForm = () => { return( <section > <TextField id="standard-basic" label="Standard" variant="standard" /> </section> ) } export default ContactForm
Current behavior 😯
No response
Expected behavior 🤔
No response
Context 🔦
No response
Your environment 🌎
npx @mui/envinfo
Im using nextjs 13.5.2 with the latest version of MUI
The text was updated successfully, but these errors were encountered: