-
Bug
-
Resolution: Fixed
-
Normal
-
8.5.2
-
None
-
Security Level: Jimmy
-
None
-
ZK 8.6.0 S1
Steps to Reproduce
run fiddle
http://zkfiddle.org/sample/3usnnrt/3-Listbox-ROD-render-onSize-missing
Click on the +1 button to add lines
Current Result
When adding a line, the content is marked for rerendering due to ROD.
During rerender, the onSize event doesn't trigger, so the components located inside the listbox follow their "default" size.
Expected Result
Components should trigger onSize to match their current expected size
Debug Info
Root Cause
Workaround
<script><![CDATA[ zk.afterLoad('zul.sel', function() { var xListbox = {}; zk.override(zul.sel.Listbox.prototype, xListbox ,{ onChildReplaced_ : function() { var result = xListbox.onChildReplaced_.apply(this, arguments); zUtl.fireSized(this); return result; } });//zk.override });//zk.afterLoad ]]></script>
- blocks
-
ZK-4320 Grid columns shrink after sorting
- Closed