bstouls 8 lat temu
rodzic
commit
f5be209cec
1 zmienionych plików z 2 dodań i 1 usunięć
  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() {