-
Bug
-
Resolution: Fixed
-
Major
-
8.0.3
-
None
-
None
-
None
steps to reproduce
- run the attached zul
- scroll down to more than 50 rows
current result
Error message:
The insertion [<Listitem null>] of the shadow [<Apply@0 (<Listbox tJFP0#box1>)>] cannot be orphan
javascript error in the console tab:
zul.mesh.wpd:317 Uncaught TypeError: Cannot read property 'length' of undefined(…)getSigRow @ zul.mesh.wpd:317clearCachedSize @ zul.mesh.wpd:1200syncSize @ zul.mesh.wpd:573onResponse @ zul.mesh.wpd:585$supers @ zk.wpd:10776onResponse @ zul.sel.wpd:1192$supers @ zk.wpd:10776onResponse @ zul.sel.wpd:1655_invoke @ zk.wpd:12829fire @ zk.wpd:12812(anonymous function) @ zk.wpd:12950setTimeout (async)fire @ zk.wpd:12949fire @ zk.wpd:13046fire @ zk.wpd:14348doCmdsNow @ zk.wpd:20354_doCmds @ zk.wpd:20597afterResponse @ zk.wpd:20232onResponseReady @ zk.wpd:20229XMLHttpRequest.send (async)ajaxSendNow @ zk.wpd:20293sendNow @ zk.wpd:20755onClick @ zk.wpd:22770fireX @ zk.wpd:17437doClick @ zk.wpd:25984_doEvt @ zk.wpd:19553(anonymous function) @ zk.wpd:19744dispatch @ zk.wpd:5157elemData.handle @ zk.wpd:4828
use cases
- users would want to switch the model template inside a Listbox with <apply>
- multiple listboxes can inject the same template (reusability)