From d1995ff1188494b2d0d20c7d1b97b95d58aa412e Mon Sep 17 00:00:00 2001 From: p Date: Thu, 13 Aug 2026 17:19:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20PopupWindow=20resize=20=E2=80=94=20remov?= =?UTF-8?q?e=20stale=20e.target=20check=20in=20resizing()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bricks/popup.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/bricks/popup.js b/bricks/popup.js index f64cee8..07ec55e 100644 --- a/bricks/popup.js +++ b/bricks/popup.js @@ -170,11 +170,6 @@ bricks.Popup = class extends bricks.VBox { resizing(e){ var ele; ele = this.resizable_w.dom_element; - if (ele != e.target && ! ele.contains(e.target)){ - console.log("resizing():on other dom element"); - this.stop_resizing(); - return; - } if (!this.resize_status){ console.log("resizing():this.resize_status=false"); this.stop_resizing();