Right now I have a situation in popup code where I need to make the popup's view visible. However, in some cases, there will be pending layout changes on the popup, typically new frames that need to be constructed, but in other cases no reflows are going to happen. To avoid flickering, I need to know whether any reflows are pending, and wait to show the view until afterwards, but if none are pending, show the view immediately. What is the best way to determine whether there are any pending changes?

/ Neil
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to