-
-
Notifications
You must be signed in to change notification settings - Fork 32.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
[material-ui][Autocomplete] Caret transformation issue with font size change #41066
[material-ui][Autocomplete] Caret transformation issue with font size change #41066
Conversation
Netlify deploy previewhttps://deploy-preview-41066--material-ui.netlify.app/ Bundle size reportDetails of bundle changes (Toolpad) |
So, I discovered that if we remove the 'right: 0;' style, the other Autocomplete components are changing, so I will add this back. |
So, I discovered that if we remove the 'right: 0;' style, the other Autocomplete components are changed and the caret icon goes to the left side, so I will add this back. Signed-off-by: Dimitris Pertsinidis <76684058+dpertsin@users.noreply.github.com>
Because the Argos tool detected some changes I had to change the style. Signed-off-by: Dimitris Pertsinidis <76684058+dpertsin@users.noreply.github.com>
Signed-off-by: Dimitris Pertsinidis <76684058+dpertsin@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @dpertsin! 🎉
The CI check failing is not for this PR in particular, but it's failing on multiple PRs; I will merge this as soon as we figure out why that check is failing.
Required due to change in MUI: mui/material-ui#41066
Required due to change in MUI: mui/material-ui#41066
Required due to change in MUI: mui/material-ui#41066
Required due to change in MUI: mui/material-ui#41066
Required due to change in MUI: mui/material-ui#41066
The caret icon within the Autocomplete component was incorrectly positioned due to the following styles applied to the .css-1q60rmi-MuiAutocomplete-endAdornment class:
This caused the caret icon to be misaligned when the font size was adjusted. Additionally, the 'right: 0;' style was redundant and was overridden by another class, so I removed it..
Bug Fix:
The caret icon's positioning is now consistent and follows the standard Material-UI styling.
Fix #40874