mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(input): no focus on click in IE if clicked outside native control (#15108)
Fixes #15093
This commit is contained in:
committed by
Jeremy Elbourn
parent
3787695712
commit
2652532819
@@ -89,6 +89,12 @@
|
||||
// happen, however it's possible to do it when clicking on a disabled input (see #13479).
|
||||
@include user-select(none);
|
||||
|
||||
&:-ms-input-placeholder {
|
||||
// fix IE11 not able to focus programmatically with css style -ms-user-select: none
|
||||
// see https://github.com/angular/material2/issues/15093
|
||||
-ms-user-select: text;
|
||||
}
|
||||
|
||||
// Delay the transition until the label has animated about a third of the way through, in
|
||||
// order to prevent the placeholder from overlapping for a split second.
|
||||
transition: color $swift-ease-out-duration $swift-ease-out-duration / 3
|
||||
|
||||
Reference in New Issue
Block a user