From 0e883ff404d58d800d8d525bf5f7b442abb9fe90 Mon Sep 17 00:00:00 2001 From: jlukic Date: Fri, 5 Jun 2015 15:56:54 -0400 Subject: [PATCH] Uses floating shadow for popup, fixes mobile issues with reflow --- src/definitions/modules/popup.less | 5 +++++ src/themes/default/modules/popup.variables | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/definitions/modules/popup.less b/src/definitions/modules/popup.less index 65b560aea..3a20f20a7 100755 --- a/src/definitions/modules/popup.less +++ b/src/definitions/modules/popup.less @@ -233,6 +233,11 @@ display: block; } +.ui.visible.popup { + transform: translateZ(0px); + backface-visibility: hidden; +} + /******************************* Variations diff --git a/src/themes/default/modules/popup.variables b/src/themes/default/modules/popup.variables index 95573e0ac..0dbc47e14 100644 --- a/src/themes/default/modules/popup.variables +++ b/src/themes/default/modules/popup.variables @@ -12,7 +12,7 @@ @maxWidth: 250px; @borderColor: #CCCCCC; @borderWidth: 1px; -@boxShadow: 0px 2px 4px rgba(0, 0, 0, 0.1); +@boxShadow: @floatingShadow; @color: @textColor; @verticalPadding: 0.833em;