-
Bug
-
Resolution: Fixed
-
Normal
-
6.5.5
-
Security Level: Jimmy
Reproduce step:
1. Select first row in listbox.
2. Press "down" key.
Expected: Should not see horizontal scroll.
Actual: Horizontal scroll to right.
<zk> <zscript><![CDATA[ Object[] column = new Object[20]; List list = new ArrayList(); for (int i = 0; i < 100; i++) { list.add("item" + i); } ListModelList lml = new ListModelList(list); lml.setMultiple(true); ]]></zscript> <listbox model="${lml}" checkmark="true" hflex="1" height="200px"> <listhead> <listheader forEach="${column}" label="${forEachStatus.index}" width="100px" /> </listhead> <template name="model" var="each"> <listitem> <listcell forEach="${column}" label="${each}"></listcell> </listitem> </template> </listbox> </zk>