-
Bug
-
Resolution: Fixed
-
Normal
-
8.5.2
-
None
Steps to Reproduce
1. run to the fiddle.
http://zkfiddle.org/sample/2vsjrv3/4-bugs-for-slider-in-hlayout
2. resize the window
Current Result
developer tool /console tab
Uncaught RangeError: Maximum call stack size exceeded at curCSS (zk.wpd:7296) at Function.css (zk.wpd:7254) at zk.wpd:7110 at Function.access (zk.wpd:980) at init.css (zk.wpd:7092) at zjq.sumStyles (zk.wpd:12852) at zjq.marginWidth (zk.wpd:12986) at init.setFlexSizeW_ (zk.wpd:21236) at init.setFlexSize_ (zk.wpd:21225) at init.beforeChildrenFlex_ (:1223/t8521/zkau/web/_zv2018082816/js/zul.box.wpd:385)
Expected Result
resize without an error
Debug Info
in hlayout,
https://github.com/zkoss/zk/blob/884e074c3ab999798dcf38b01564ec1f4c940818/zul/src/archive/web/js/zul/box/Layout.js#L261
would cause a wrong logical result in
https://github.com/zkoss/zk/blob/884e074c3ab999798dcf38b01564ec1f4c940818/zul/src/archive/web/js/zul/box/Layout.js#L395
Workaround
currently none