Skip to content

Commit

Permalink
Merge pull request #120 from vaadin/fix/shadow-undeline
Browse files Browse the repository at this point in the history
Fix date picker opened undeline for native shdow
  • Loading branch information
tehapo committed Mar 16, 2016
2 parents c5c8947 + 58a628c commit b9aea8b
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions vaadin-date-picker.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,20 +124,13 @@
color: rgba(0, 0, 0, .54);
}

paper-input-container {
paper-input-container[opened] {
--paper-input-container-underline-focus: {
-webkit-transform: none;
transform: none;
-webkit-transition: -webkit-transform 0.25s;
transition: transform 0.25s;
}
}

paper-input-container:not([opened])::content .focused-line {
-webkit-transform: scale3d(0, 1, 1);
transform: scale3d(0, 1, 1);
}

paper-input-container iron-icon:hover,
paper-input-container[opened] iron-icon {
fill: rgba(0, 0, 0, .54);
Expand Down Expand Up @@ -415,6 +408,8 @@

// focus to enable keyboard navigation
this.$.overlay.focus();

this.updateStyles();
},

// A hack needed for iOS to prevent dropdown from being clipped in an
Expand Down Expand Up @@ -445,6 +440,8 @@
});
this._touchPrevented = [];
}

this.updateStyles();
},

detached: function() {
Expand Down

0 comments on commit b9aea8b

Please sign in to comment.