bstouls hace 8 años
padre
commit
f5be209cec
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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() {