Skip to content

Commit

Permalink
Remove Microsoft Edge "Reveal" icon from password field (#595)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
BatJan and BatJan authored Oct 10, 2023
1 parent 1a7ba8b commit 1e4dac6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/uui-input/lib/uui-input.element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1e4dac6

Please sign in to comment.