From 5704a0d0730452b95b2df78aedd4fcfed78a1802 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Sat, 19 Sep 2020 17:28:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E7=85=A7comment=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/less/base/view/popupview.less | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/less/base/view/popupview.less b/src/less/base/view/popupview.less index ae5a46eb2..3440bd305 100644 --- a/src/less/base/view/popupview.less +++ b/src/less/base/view/popupview.less @@ -3,6 +3,10 @@ /**********BI.BIListView*************/ .bi-popup-view { position: fixed !important; + // -ms-device-fixed >= IE11 + // 与fixed表现形式一致,区别在于浏览器缩放的时候,-ms-device-fixed的元素不受其影响,而fixed的元素受其影响 + // 最重要的是-ms-device-fixed解决了IE11下的残影问题 + position: -ms-device-fixed !important; overflow-y: visible !important; overflow-x: visible !important; overflow: visible !important; @@ -42,13 +46,4 @@ & .list-view-shadow { .box-shadow(0 1px 5px 0, fade(@background-color-normal-theme-dark, 80)); } -} - -.hack { - .bi-popup-view { - // -ms-device-fixed >= IE11 - // 与fixed表现形式一致,区别在于浏览器缩放的时候,-ms-device-fixed的元素不受其影响,而fixed的元素受其影响 - // 最重要的是-ms-device-fixed解决了IE11下的残影问题 - position: -ms-device-fixed !important; - } } \ No newline at end of file