-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
Text input with label and placeholder issues #7821
Comments
It could be an higher order Component issue, where the parent component doesn't have access the the textarea value. I'm just guessing. I haven't looked into it. |
After this update, when using |
@robert-figshare I do think that it's different. It's a feature this time. I guess we could add a property like alwaysDisplayPlaceholder or think of a smarter way to handle the shrink state with the focus state. |
It just looks really weird, you have an empty input, no placeholder. When you click the input the placeholder appears.
|
Yes, it's weird. My fixes what about making the single and multi lignes mode working the same. |
I'm experiencing this, should we reopen the issue? |
@Floriferous Please open a new issue with more detail :) |
Problem description
If you set a multiline TextInput with placeholder and label, both will be visible and overlapped
If you set a TextInput with
multiline={false}
andInputLabelProps={ { shrink: true } }
, The placeholder will be displayed only on focusSteps to reproduce
You can find the configurations here.
https://www.webpackbin.com/bins/-KrocGNyPTqG5mMTl4q6
Versions
The text was updated successfully, but these errors were encountered: