[TextField] Labels on Textfields with InputProp StartAdornment are always shrunk #26934
Closed
2 tasks done
Labels
component: text field
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
Current Behavior 😯
When having a textfield with Label and StartIcon inputAdornment the label is always shrunk, unlike the Endicon inputAdornment where this behavior is not occurring.
Expected Behavior 🤔
Textfield should behave the same if startIcon or endIcon input adornments are used. This means that if there is no focus on the field and the field is empty the label is shown not shrunk.
Steps to Reproduce 🕹
https://codesandbox.io/s/frosty-greider-rxl73?file=/src/App.tsx
The text was updated successfully, but these errors were encountered: