-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Text field with fixed label; no animation when the input field on focus #201
Comments
Very interesting and often missed aspect of component - UX with error states. |
@ThomasBurleson I think we can add |
@scarletsky I simply use a placeholder to get around the animation issue, works like a charm (needs some styling done though). It does seem like it could be useful to have a no animation class on the label... |
Please note that the current Text Field component is a Floating Label component that is specified (by Material Design) to have a hint/label animation. There are several other implementations of Text Field that will be arriving in the near future (some without animation).
|
+1 to this. I also need a regular (non-floating-label) text field. |
In fact, what I want is like this:
It seems that I can not use
<label>
tag because of the animation. I can just work around with other tag like<p>
,<div>
.For the semantic of HTML, I think it will be better if we support a way to remove the label animation.
The text was updated successfully, but these errors were encountered: