[material-ui][Autocomplete] Initial render with a value set always causes input label to perform the shrink animation #44506
Labels
bug 🐛
Something doesn't work
component: autocomplete
This is the name of the generic UI component, not the React module!
package: material-ui
Specific to @mui/material
ready to take
Help wanted. Guidance available. There is a high chance the change will be accepted
Steps to reproduce
Steps:
Current behavior
When providing a value to Autocomplete, on initial render it'll animate the input label shrinking as if a value was entered after the component was rendered, which gets extra visually annoying when having large groups of autocomplete fields that are contained within Steps or show/hide buttons
Expected behavior
The input label is already shrunk at initial render without any animation, like it is for TextField, Select, etc
Context
N/A
Your environment
npx @mui/envinfo
Search keywords: autocomplete shrink animation initial value
The text was updated successfully, but these errors were encountered: