iframe in panel reloading when you don't want them to
iframe in panel reloading when you don't want them to
I've been trying to work this one out but really not gotten anywhere with it. Basically, I have two panels next to each other. The one on the left is collapsible and starts collapsed. The one on the right has an iframe in it as its body content (set via a dom config on its html attribute). The iframe loads fine and works perfectly.
However, when expanding the panel on the left, it causes the one on the right to resize, the iframe seems to get reloaded (or re-rendered?), which obviously is no good if you're using stuff in that iframe. Whats even stranger is that manually resize either panel *doesn't* cause this problem, so may be related to the rendering of the content in the expanding panel?
I tried to track down what causes this and got as far as flushLayouts before I decided I wasn't really going to understand the why of it.
Has anyone come across this before or know of a solution to my issue here?