2
0
bstouls 8 жил өмнө
parent
commit
f5be209cec
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  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() {