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

Floating Label Behavior #206

@StokeMasterJack

Description

@StokeMasterJack

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"/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions