View Full Version : How to tell if layouts are pending

28 Jul 2015, 6:01 AM
Hi All,
Apologies if this has been covered elsewhere, I haven't found any keyword hits that help. We're seeing some instability in our UI tests around actions like mouseover to make items visible and then clicking, and have resorted to arbitrary hardcoded waits to give the framework time to complete layouts.
Is there an indicator that can be used to tell if there are still queued layouts that need to be performed? It seems Ext.Component.pendingLayouts would work, but it's private and I'd rather not build a dependency on something that might change.

30 Jul 2015, 6:48 AM
Each container should have a layoutSuspendCount property. If 1 or more, a layout is suspended.