Skip to content
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

[material-ui][TextField] Fix standard Input not loading correctly #39257

Closed
wants to merge 3 commits into from

Conversation

NmN03jain
Copy link

@NmN03jain NmN03jain commented Oct 1, 2023

Closes #39157

@mui-bot
Copy link

mui-bot commented Oct 1, 2023

Netlify deploy preview

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

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 7794fc2

@NmN03jain
Copy link
Author

can you help me how can i resolve this issues

@danilo-leal danilo-leal changed the title Standard input not loading correctly #39157 Fixed this issue [material-ui][TextField] Fix standard Input not loading correctly Oct 2, 2023
@danilo-leal danilo-leal added component: text field This is the name of the generic UI component, not the React module! package: material-ui Specific to @mui/material labels Oct 2, 2023
@zannager zannager requested a review from mj12albert October 2, 2023 16:29
@@ -50,7 +50,7 @@ const InputRoot = styled(InputBaseRoot, {
}
return {
position: 'relative',
...(ownerState.formControl && {
...(typeof window !== 'undefined' && {
Copy link
Member

Choose a reason for hiding this comment

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

@NmN03jain We still want these styles on the server, the fix should be using a different CSS selector (other than label + &) to target the adjacent div

@mj12albert
Copy link
Member

@NmN03jain Are you still interested in working on this?

@ZeeshanTamboli
Copy link
Member

Since the PR is inactive, I am closing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: text field This is the name of the generic UI component, not the React module! package: material-ui Specific to @mui/material
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TextField][material-ui] Standard variant styles rendering incorrectly in Next.js app dir
5 participants