Support Article
Iframe does not get expanded automatically
SA-12822
Summary
Developer has created a section and added an Iframe inside a tab layout.They noticed that at runtime, the Iframe contents are not shown on tab.
Steps to Reproduce
- Add IFrame on a section.
- Expand tab with Iframe. Observe that Iframe does not show content.
Root Cause
The root cause of this problem is a defect in customer application code/rules.
Resolution
The explanation for this behavior is as follows:
In the deployment scenario, a non-pega webpage is embedded inside the iframe which does not seem to load when the iframe is invisible (hidden within a tab).
However the same configuration works for other webpage like pega.com. Removing the webpage from I frame content resolves the issue.
Also, use the "defer load" option on the tab, as the iframe webpage seems to load when the tab body is visible.
Published August 13, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.