From 1e4dac66321b5cfbec158f3a635f3b2d99cacc6a Mon Sep 17 00:00:00 2001 From: Jan Skovgaard <1932158+BatJan@users.noreply.github.com> Date: Tue, 10 Oct 2023 09:53:54 +0200 Subject: [PATCH] Remove Microsoft Edge "Reveal" icon from password field (#595) * Ensure MS Edge's "reval" password icon is not displayed * Ensure MS Edge's "reval" password icon is not displayed * Remove double declaration --------- Co-authored-by: Jan Skovgaard Olsen --- packages/uui-input/lib/uui-input.element.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/uui-input/lib/uui-input.element.ts b/packages/uui-input/lib/uui-input.element.ts index ce9323260..c909d53ae 100644 --- a/packages/uui-input/lib/uui-input.element.ts +++ b/packages/uui-input/lib/uui-input.element.ts @@ -158,6 +158,11 @@ export class UUIInputElement extends FormControlMixin( input::placeholder { transition: opacity 120ms; } + + input[type='password']::-ms-reveal { + display: none; + } + :host(:not([readonly])) input:focus::placeholder { opacity: 0; }