Skip to content

[bug]: Textfield label incorrectly positioned if placeholder is not present #200

@wuweiweiwu

Description

@wuweiweiwu

If the placeholder attribute is not specified on the <input/> than the label immediately is pull to the top left by the :not(:placeholder-shown) rule

Resulting is a weird gap of space even when the field doesn't have focus (my assumption is that the label will always take up the space when not in focus)

codepen

Screen Shot 2019-08-15 at 1 19 33 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions