Skip to content

Commit 9cb90b4

Browse files
authored
feat: Don't hide placeholder text on focus (#624)
1 parent b1214c6 commit 9cb90b4

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -429,18 +429,10 @@ export class UUIInputElement extends FormControlMixin(
429429
outline: none;
430430
}
431431
432-
input::placeholder {
433-
transition: opacity 120ms;
434-
}
435-
436432
input[type='password']::-ms-reveal {
437433
display: none;
438434
}
439435
440-
:host(:not([readonly])) input:focus::placeholder {
441-
opacity: 0;
442-
}
443-
444436
/* TODO: make sure color looks good, or remove it as an option as we want to provide color-picker component */
445437
input[type='color'] {
446438
width: 30px;

0 commit comments

Comments
 (0)