Skip to content

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

Open

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

Activity

  1. added
    bug
    on Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions