From 70a4831f2a17244e84e06a4a6376a9d6dd570f5b Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 26 Dec 2025 11:02:29 +0800 Subject: [PATCH] bugfix --- bricks/popup.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bricks/popup.js b/bricks/popup.js index f06f2c6..c871ca8 100644 --- a/bricks/popup.js +++ b/bricks/popup.js @@ -180,8 +180,7 @@ bricks.Popup = class extends bricks.VBox { positify_tl(){ var rect, w, h, t, l; if (this.opts.eventpos && this.opts.origin_event){ - this.set_style('top', this.origin_event.clientY + 'px'); - this.set_style('left', this.origin_event.clientX + 'px'); + bricks.relocate_by_eventpos(ithis.opts.origin_event, this); return; } if (this.top && this.left){