bstouls 8 năm trước cách đây
mục cha
commit
f5be209cec
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      h2d/Dropdown.hx

+ 2 - 1
h2d/Dropdown.hx

@@ -199,7 +199,8 @@ class Dropdown extends Flow {
 
 	override function onRemove() {
 		super.onRemove();
-		close();
+		if( dropdownList.parent != this )
+			dropdownList.remove();
 	}
 
 	public dynamic function onOpen() {