Open xelra opened 6 years ago
This is technically easy to change. A PR would be great, if you have the time.
This is no longer relevant, IMO, as the updated Material Design spec only has the filled and outlined text fields styles.
It’s currently unclear if we want to keep the previous text field style along with the new filled and outlined styles, which is why I’m keeping this issue open.
I've been comparing different implementations of Material Design and I've come to the conclusion that the input fields on https://material-ui-next.com/demos/text-fields/ are close to perfect. They have a really great feel to them and I was experimenting for hours why that is.
I think that is because of how they implemented hover. The hover state will only be triggered with the mouse above the input field (where the input text is). If the mouse is above the label, the hover state is not triggered. This makes the "hover area" much smaller, but it has a much more natural feel to it. Mostly that's because the mouse will change from a pointer to a cursor and back, exactly when the hover state triggers.
It would be really great, if the Vaadin Material theme could mimick that behavior.