Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi, When I do: @width : childrenRect.width + 20@
I get the @Binding loop detected for property "width"@
error. Without the "+ 20" no error. Still, the app works OK: the 20pix do get added to the width correctly. Should I ignore the error message? Thanks.
I believe you get this error because childrenRect.width changes when width changes. So width = childrenRect.width + 20 -> childrenRect.width changes because width changes -> width changes because childrenRect.width changes etc.
Best not to ignore this.
Thanks, but childrenRect.width can (should) not change because it is not dependant on its parents width. If it were then we would have a binding loop.