Components in a module disappear when the browser is resized (Flex 3)
We have this Flex application built on Builder 3 and we are using the SuperTabNavigator from FlexLib to display some modules. The point is, whenever the user resizes the browser window, all the content on any tabs just disappears and there is no way to get them back. This only happens the first time, so if you close those "broken" tabs and open them again, you can resize whatever you want, but you still lost everything you did in them, and that's not acceptable. I did some testing and found that the module in this tab does not dispatch resize events when this happens. It's dispatched when it opens (everything is set to 100% to fit the browser window, so it resizes on startup) and every time you resize it without "hack. "This is getting weirder. I also found that resizing works fine as long as you resize it to a size larger than the original (i.e. you open it in a browser window which will be restored and then zoomed in), but even after that, if you resize it back to something even a pixel smaller than the original, the module just disappears. Everything else remains in perfect working conditions: any components outside the tabs and the tabs themselves work, but (summarizing) something or in any tab that opens when the browser window is resized to a size smaller than the original, it simply disappears.which will be restored and then enlarged), but even after that, if you resize it back to something even a pixel smaller than the original, the module just disappears. Everything else remains in ideal working conditions: any components outside the tabs and the tabs themselves work, but (summarizing) anything in any tab that opens when the browser window is resized to a size smaller than the original just disappears.which will be restored and then enlarged), but even after that, if you resize it back to something even a pixel smaller than the original, the module just disappears. Everything else remains in ideal working conditions: any components outside the tabs and the tabs themselves work, but (summarizing) anything in any tab that opens when the browser window is resized to a size smaller than the original just disappears.
I understand this is a strange problem and I hope some of you can help me. Feel free to ask any questions if something is unclear.
Thanks in advance.
I had the same problem with my application. The problem arose because the RemovedFromStage event was fired when the window was smaller than its original size. I was catching the RemovedFromStage event and hiding my component, which resulted in this behavior. A more detailed explanation can be found here .
a source to share