Skip to content

Commit a90a510

Browse files
authored
fix(uui-textarea): Don't hide placeholder text on focus (#751)
* Don't hide placeholder text on focus * Remove blank line
1 parent c60c831 commit a90a510

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

packages/uui-textarea/lib/uui-textarea.element.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -332,14 +332,6 @@ export class UUITextareaElement extends FormControlMixin(LitElement) {
332332
var(--uui-color-border-emphasis)
333333
);
334334
}
335-
336-
textarea::placeholder {
337-
transition: opacity 120ms;
338-
}
339-
:host(:not([readonly])) textarea:focus::placeholder {
340-
opacity: 0;
341-
}
342-
343335
textarea:focus {
344336
outline: calc(2px * var(--uui-show-focus-outline, 1)) solid
345337
var(--uui-color-focus);

0 commit comments

Comments
 (0)