This commit is contained in:
yumoqing 2025-12-31 15:56:49 +08:00
parent 01113b634c
commit e1e09ea23e

View File

@ -164,8 +164,10 @@ bricks.Popup = class extends bricks.VBox {
console.log('= resize_stat_pos()', this.origin_event_x, this.origin_event_y) console.log('= resize_stat_pos()', this.origin_event_x, this.origin_event_y)
} }
resizing(e){ resizing(e){
if (this.resizable_w.dom_element != e.target){ var ele;
console.log("resizing():",this.resizable_w.dom_element. r.target); ele = this.resizable_w.dom_element;
if (ele != e.target || ! ele.contains(e.target)){
console.log("resizing():", ele, e.target);
this.stop_resizing(); this.stop_resizing();
return; return;
} }