-
Bug
-
Resolution: Fixed
-
Normal
-
8.0.1
-
None
-
Security Level: Jimmy
-
None
-
ZK 8.0.2 S2
-
None
Currently, when ROD is enabled, a Listbox still re-renders all currently-rendered item again even we don't change it. There are several cases:
- users call model.add(). Although the added item is not rendered before, the Listbox still re-renders all.
- Users call model.set(0, object). Although only one item changes, the Listbox still re-renders all.
Re-rendering all items causes a Listbox flicker itself.
When there is server push thread which keeps updating the model, the Listbox keeps flickering itself which is an annoying problem. When ROD is disabled, there is no such issue.
steps to reproduce
- load the zul
- click the button for several times
actually result
each clicking causes the listbox flickering itself for re-rendering all items.
expected result
no flickering happens.
debug info
- when ROD is disabled, no flickering happens.