diff --git a/src/less/base/view/popupview.less b/src/less/base/view/popupview.less index ae5a46eb25..3440bd3058 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