Skip to content

Commit

Permalink
fix(input): remove IE clear icon (#8095)
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 #8076.
  • Loading branch information
crisbeto authored and andrewseguin committed Nov 2, 2017
1 parent c4e12b5 commit 2fa679b
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 2fa679b

Please sign in to comment.