Skip to content

Commit

Permalink
fix(input): remove IE clear icon
Browse files Browse the repository at this point in the history
Removes IE's native clear icon from inputs, because it makes them inconsistent between browsers.

Fixes angular#8076.
  • Loading branch information
crisbeto committed Oct 28, 2017
1 parent 62b149f commit cb97a74
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib/input/input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
box-shadow: none;
}

// Remove IE's default clear icon.
&::-ms-clear {
display: none;
}

// Note that we can't use something like visibility: hidden or
// display: none, because IE ends up preventing the user from
// focusing the input altogether.
Expand Down

0 comments on commit cb97a74

Please sign in to comment.