-
Bug
-
Resolution: Fixed
-
Normal
-
8.0.4.2
-
Security Level: Jimmy
-
None
Steps to Reproduce
run the attached example
1. click the button "add listheader + invalidate listhead"
2. resize a column
Current Result
The following JS error is logged in the JS console:
zul.mesh.wpd:2440 Uncaught TypeError: Cannot read property 'style' of undefined at Object._aftersizing [as endeffect] (zul.mesh.wpd:2440) at init._finishDrag (zk.wpd:13724) at init._endDrag (zk.wpd:13789) at HTMLDocument._docmouseup (zk.wpd:13403) at HTMLDocument.dispatch (zk.wpd:5157) at HTMLDocument.elemData.handle (zk.wpd:4828)
Expected Result
no error
Debug Info
the error only happens if invalidate() is called on the <listhead> in the same response
Root Cause
the faker <col> are not updated and get out of synch with the <th>
Workaround
not calling invalidate() avoids the error