Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Floating Label Behavior #206

Open
StokeMasterJack opened this issue Oct 12, 2016 · 0 comments
Open

Floating Label Behavior #206

StokeMasterJack opened this issue Oct 12, 2016 · 0 comments

Comments

@StokeMasterJack
Copy link

There is a subtle difference in the way the floating label behaves between Polymer paper components and another material ui library that I am using (Material-UI).

It has to do with when the floating label decides to float.

In Polymer: label floats after you type the first character
In Material-UI: label floats on focus.

I'm not sure which one is correct. Or if there is a correct. But my app uses both libraries. Sometimes on the same page. And I would like to make it consistent.

Feature request: An attribute to control this behavior. For example:

<paper-input when-to-float-label="onFocus | onFirstChar"/>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant