From 8319d04156ce69b7337c25fc49b2517dec125b66 Mon Sep 17 00:00:00 2001
From: Peter Jaszkowiak
Date: Thu, 6 Apr 2017 12:45:55 -0600
Subject: [PATCH] Fix bottom sheets not showing in IE11
---
less/modules/bottom-sheet.less | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/less/modules/bottom-sheet.less b/less/modules/bottom-sheet.less
index 53a98b6..546e537 100644
--- a/less/modules/bottom-sheet.less
+++ b/less/modules/bottom-sheet.less
@@ -3,16 +3,16 @@
.dropdown-menu {
display: block;
visibility: hidden;
-
+
position: fixed;
left: 0;
right: 0;
bottom: 0;
-
+
margin: 0;
padding: 0 5px;
max-height: 60%;
-
+
box-shadow: 0 2px 6px rgba(0,0,0,0.35);
overflow: auto;
-webkit-overflow-scrolling: touch;
@@ -20,32 +20,32 @@
transition: transform 0.3s, visibility 0s 0.3s;
z-index: 995;
padding: 5px 0 10px;
-
- li {
+
+ li {
a {
padding: 10px 20px;
}
-
+
&.divider {
padding: 0;
}
-
+
&.active {
background-color: @btn-primary-bg;
color: @btn-primary-color;
}
}
}
-
+
&.open {
.dropdown-menu {
transform: none;
visibility: visible;
transition-delay: 0s;
- top: initial;
+ top: auto;
}
}
-
+
.dropdown-backdrop {
background-color: rgba(0, 0, 0, .3);
}