From d6f3758f84507ad84d26ac610b461fc8c9d0d529 Mon Sep 17 00:00:00 2001
From: fay <lfhlifenghao@gmail.com>
Date: Wed, 22 Jul 2020 12:17:05 +0800
Subject: [PATCH] =?UTF-8?q?BI-69245=20fix:=20IE=E5=BC=B9=E6=A1=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../resources/com/finebi/plugin/web/plugin.screen_adaptive.js   | 2 +-
 src/main/resources/com/finebi/plugin/web/scripts/entry.js       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/com/finebi/plugin/web/plugin.screen_adaptive.js b/src/main/resources/com/finebi/plugin/web/plugin.screen_adaptive.js
index 2e4bd54..044d748 100644
--- a/src/main/resources/com/finebi/plugin/web/plugin.screen_adaptive.js
+++ b/src/main/resources/com/finebi/plugin/web/plugin.screen_adaptive.js
@@ -311,7 +311,7 @@
                             this.popupView.element[0].style.left = parseInt(pBounds.left) + "px";
                         }else if (parseInt(cBounds.top) >= parseInt(pBounds.top) && parseInt(cBounds.left) < parseInt(pBounds.left)) {
                             this.popupView.element[0].style.top = parseInt(pBounds.bottom)  + "px";
-                            this.popupView.element[0].style.left = parseInt(Math.min(pBounds.left, body.clientWidth - cBounds.width)) - transformX + "px";
+                            this.popupView.element[0].style.left = parseInt(Math.min(pBounds.left, body.clientWidth - cBounds.width)) + "px";
                         } else {
                             this.popupView.element[0].style.top = parseInt(pBounds.bottom) + "px";
                             this.popupView.element[0].style.left = parseInt(cBounds.left) * scale  + "px";
diff --git a/src/main/resources/com/finebi/plugin/web/scripts/entry.js b/src/main/resources/com/finebi/plugin/web/scripts/entry.js
index 2e4bd54..044d748 100644
--- a/src/main/resources/com/finebi/plugin/web/scripts/entry.js
+++ b/src/main/resources/com/finebi/plugin/web/scripts/entry.js
@@ -311,7 +311,7 @@
                             this.popupView.element[0].style.left = parseInt(pBounds.left) + "px";
                         }else if (parseInt(cBounds.top) >= parseInt(pBounds.top) && parseInt(cBounds.left) < parseInt(pBounds.left)) {
                             this.popupView.element[0].style.top = parseInt(pBounds.bottom)  + "px";
-                            this.popupView.element[0].style.left = parseInt(Math.min(pBounds.left, body.clientWidth - cBounds.width)) - transformX + "px";
+                            this.popupView.element[0].style.left = parseInt(Math.min(pBounds.left, body.clientWidth - cBounds.width)) + "px";
                         } else {
                             this.popupView.element[0].style.top = parseInt(pBounds.bottom) + "px";
                             this.popupView.element[0].style.left = parseInt(cBounds.left) * scale  + "px";