From 404cdc1bca1f23297f48b07cefd05b6a793ccf65 Mon Sep 17 00:00:00 2001 From: Bjarne Fyrstenborg Date: Mon, 23 Oct 2023 22:34:18 +0200 Subject: [PATCH] Don't hide placeholder text on focus --- packages/uui-input/lib/uui-input.element.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/uui-input/lib/uui-input.element.ts b/packages/uui-input/lib/uui-input.element.ts index f80871404..f471ad621 100644 --- a/packages/uui-input/lib/uui-input.element.ts +++ b/packages/uui-input/lib/uui-input.element.ts @@ -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;