redesign icon indicating copy to clipboard operation
redesign copied to clipboard

Input placeholder should not be selectable

Open shadeed opened this issue 7 years ago • 0 comments

- Do you want to request a feature or report a bug? An enhancement.

- What is the current behavior? Since we have the floating label pattern, input labels are not regular placeholders. Hovering over the placeholder will show a hand cursor and I can select the placeholder text.

login-label

- If the current behavior is a bug, please provide the steps to reproduce. Go to https://next.smashingmagazine.com/auth/ and hover over the input placeholder.

- What is the expected behavior? Placeholder should not be selectable, also I think there is no need to change the mouse to hand cursor on hover.

.enhanced .form__field--floating .form__field__label {
    pointer-events: none;
}

shadeed avatar Mar 26 '17 15:03 shadeed