Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 13734c0

Browse files
crisbetoThomasBurleson
authored andcommitted
fix(datepicker): hidden calendar pane overflowing in IE
There's a workaround for the datepicker that fixes an overflow in IE and Edge, however it was being overwritten a few lines down. I couldn't find a good reason for it to be overwritten so I removed it. Closes #8774
1 parent a79fe0e commit 13734c0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/datepicker/datePicker.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,9 @@ md-datepicker {
9999
// overflowing it's parent, however IE and Edge seem to disregard it.
100100
// The `left: -100%` pulls the element back in order to ensure that
101101
// it doesn't cause an overflow.
102-
left: -100%;
103102
position: absolute;
104103
top: 0;
105-
left: 0;
104+
left: -100%;
106105
z-index: $z-index-calendar-pane;
107106
border-width: 1px;
108107
border-style: solid;

0 commit comments

Comments
 (0)