-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Broken TextInput Style after ScopedCSSBaseline is introduced #8364
Comments
Further investigation of the issue suggested that ScopedCSSBaseline is not introduced early enough. RaLayout is rendered after RaLogin. https://mui.com/material-ui/react-css-baseline/#scoping-on-children
Suggest: Probably still leave this to user, and ask user to wrap their App in App.jsx and make the ScopedCSSBaseline imported right after react. |
The CodeSandbox you've provided is unusable. |
Hi @WiXSL I have replaced it with the StackBlitz one (The original stack blitz one seems can reproduce it). Can you please try again? |
You are right. |
What you were expecting:
I expect the TextInput to have enough space for user to type
What happened instead:
TextInput does not have enough space. See attached image
Steps to reproduce:
The issue needs to go through a list of steps to trigger.
I can only reproduce it locally using vite, not on codesandboxUpdate: Seems can be reproduced on CodeSandbox as well.Goto https://stackblitz.com/github/marmelab/react-admin/tree/master/examples/simple
4. Logout the user using the user button in the react-admin browser page
5. Refresh the page of login screen inside StackBlitz window
6. Login the user using
admin
andpassword
7. Navigate to
Comments
in the sidebar and create a new comment8. The broken TextInput Style will appear
Related code:
Other information:
Related #8216
Environment
The text was updated successfully, but these errors were encountered: