-
Bug
-
Resolution: Fixed
-
Normal
-
9.0.1
-
None
-
Security Level: Jimmy
-
None
-
ZK 9.5.1 S1
Steps to Reproduce
<zk> <div id="div" vflex="1" hflex="1" style="background: blue">blue</div> <button label="vflex to min"> <attribute name="onClick"><![CDATA[ div.setVflex("min"); Clients.resize(div); ]]></attribute> </button> </zk>
from https://www.zkoss.org/wiki/ZK_Developer%27s_Reference/UI_Patterns/Hflex_and_Vflex#Minimum_Flexibility_Doesn.27t_Change_a_Component.27s_Size_Dynamically
1. click the button
Current Result
nothing changed
Expected Result
the div should reduce its width for hflex="min"
Debug Information
- 8.6.4 doesn't have this bug
Workaround
<custom-attributes org.zkoss.zul.css.flex="false"/>
- is duplicated by
-
ZK-4590 setHflex() for a div doesn't work as expected
- Closed