Skip to content

Commit

Permalink
fix(uui-textarea): Don't hide placeholder text on focus (#751)
Browse files Browse the repository at this point in the history
* Don't hide placeholder text on focus

* Remove blank line
  • Loading branch information
bjarnef committed Mar 18, 2024
1 parent c60c831 commit a90a510
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/uui-textarea/lib/uui-textarea.element.ts
Expand Up @@ -332,14 +332,6 @@ export class UUITextareaElement extends FormControlMixin(LitElement) {
var(--uui-color-border-emphasis)
);
}
textarea::placeholder {
transition: opacity 120ms;
}
:host(:not([readonly])) textarea:focus::placeholder {
opacity: 0;
}
textarea:focus {
outline: calc(2px * var(--uui-show-focus-outline, 1)) solid
var(--uui-color-focus);
Expand Down

0 comments on commit a90a510

Please sign in to comment.