Flex CSS

Hi everyone,

I'm using a Popup Layout with a Javascript to trigger an iFrame.

I'm also using Flex (Flexbox) CSS styling for dynamic display and reordering of containers depending on the button clicked.

I noticed that each time the button is clicked, the performance is affected wherein the reflow takes longer.

Please see attached screenshot.

May I kindly ask for a suggestion to improve the performance?

Thank you and regards,


Hi Christopher,

I would assume that there's something wrong with the way your JavaScript makes changes to the page, causing the reflow to take longer each time. But without the source or a way to debug, it's difficult to tell what's the problem!