redesign
redesign copied to clipboard
Input placeholder should not be selectable
- 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.
- 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;
}