Skip to content

Commit

Permalink
Don't hide placeholder text on focus
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarnef committed Oct 23, 2023
1 parent 2c6881c commit 404cdc1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/uui-input/lib/uui-input.element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,18 +428,10 @@ export class UUIInputElement extends FormControlMixin(
outline: none;
}
input::placeholder {
transition: opacity 120ms;
}
input[type='password']::-ms-reveal {
display: none;
}
:host(:not([readonly])) input:focus::placeholder {
opacity: 0;
}
/* TODO: make sure color looks good, or remove it as an option as we want to provide color-picker component */
input[type='color'] {
width: 30px;
Expand Down

0 comments on commit 404cdc1

Please sign in to comment.