diff options
author | Tomi Virtanen <tltv@vaadin.com> | 2014-03-15 19:56:46 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2014-04-17 08:07:23 +0000 |
commit | 9fa230d416a74206a57b215ebf1e884e87d11f3e (patch) | |
tree | 2a12963087a481b8c9916f15928fe85b81784498 /server/src | |
parent | 9c29442be7fbb150288ba4451ed9167bec2436ad (diff) | |
download | vaadin-framework-9fa230d416a74206a57b215ebf1e884e87d11f3e.tar.gz vaadin-framework-9fa230d416a74206a57b215ebf1e884e87d11f3e.zip |
Avoid eagerly layouting from VScrollTable.updateFromUIDL (#13188)
Closing a modal sub-window at the same time when TreeTable item is
removed, caused the detached Window being re-opened by
WindowConnector.postLayout() call.
This change adds a check in postLayout: continue operation only if the
window is attached to DOM. Or else, log a warning message about the
invalid postLayout call. Another change is in TreeTableConnector and
VScrollTable to disallow Util.notifyParentOfSizeChange(Widget, boolean)
with a boolean 'false' argument, when rendering is in progress. 'false'
causes an immediate LayoutManager.layoutNow() call, which is the main
reason for this issue.
Change-Id: I6f3e331b0feff9e7814ae1d749f6f7812dcd49ac
Diffstat (limited to 'server/src')
0 files changed, 0 insertions, 0 deletions