From c695093eae22b98a2a57fb529e086afa679af7be Mon Sep 17 00:00:00 2001 From: guy Date: Mon, 21 Sep 2020 19:44:28 +0800 Subject: [PATCH] bugfix --- src/less/base/combo/combo.bubble.less | 6 +++++- src/less/base/single/tip/tip.less | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/less/base/combo/combo.bubble.less b/src/less/base/combo/combo.bubble.less index 0bb3f90063..5de59abe1a 100644 --- a/src/less/base/combo/combo.bubble.less +++ b/src/less/base/combo/combo.bubble.less @@ -3,6 +3,10 @@ .bi-bubble-combo { & .button-combo-triangle-wrapper { position: fixed !important; + // -ms-device-fixed >= IE11 + // 与fixed表现形式一致,区别在于浏览器缩放的时候,-ms-device-fixed的元素不受其影响,而fixed的元素受其影响 + // 最重要的是-ms-device-fixed解决了IE11下的残影问题 + position: -ms-device-fixed !important; // 消除祖先节点设置的line-height:normal对空白节点的行高影响 line-height: 0; .z-index-layer(@zIndex-popup); @@ -44,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/less/base/single/tip/tip.less b/src/less/base/single/tip/tip.less index 9584442a85..d2862afc7f 100644 --- a/src/less/base/single/tip/tip.less +++ b/src/less/base/single/tip/tip.less @@ -3,4 +3,8 @@ .bi-tip{ position: fixed !important; -} \ No newline at end of file + // -ms-device-fixed >= IE11 + // 与fixed表现形式一致,区别在于浏览器缩放的时候,-ms-device-fixed的元素不受其影响,而fixed的元素受其影响 + // 最重要的是-ms-device-fixed解决了IE11下的残影问题 + position: -ms-device-fixed !important; +}