fix: PopupWindow resize — remove stale e.target check in resizing()

This commit is contained in:
p 2026-08-13 17:19:03 +08:00 committed by yumoqing
parent 9e23fbccb9
commit d1995ff118

View File

@ -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();