You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iframe content shouldn't be reloaded every time the tab is on focus.
What is the current behavior?
iframe embedded with tab causes the iframe to reload as and when user keeps switching between the tabs.
What are the steps to reproduce?
Step 1: Create 2 tabs with having iframe in 1st tab.
Step 2: Keep the iframe src to some external page (for data entry purpose).
Step 3: Fill some fields in tab 1 frame.
Step 4: Toggling tabs will reload iframe everytime.
Probably the issue is that tab component is playing on the "display" value.
I made a similar component which changes the "visiblity" value instead of "display" and it stopped reloading.
angular-automatic-lock-bot commented on Sep 8, 2019
Activity
tulinisarg commentedon Jun 20, 2017
I have the same issue embedding Node Red into my App. The behaviour is similar with object tag. Any help will be much appreciated.
jelbourn commentedon Jun 20, 2017
See angular/angular#16994
anupvarma commentedon Sep 13, 2017
@jelbourn @tbosch Caching doesn't resolve the problem when the iframe is embedded within a tab.
Check the plunker updated with tabs: http://plnkr.co/edit/kA5XtZ?p=preview
Can you please suggest a work around for tabs
jelbourn commentedon Sep 13, 2017
@anupvarma it is a bug in Angular, not something that can be addressed at the application level
ShubhenduVaid commentedon Feb 12, 2018
Guys any solution to this issue.
Having similar issue
The second tab reloads.
Mojo1 commentedon Feb 23, 2018
had same issue - iframe is reloading on calendar toggle, menu toggle and so on ... every interaction
This was solution: https://stackoverflow.com/questions/39429293/url-sanitization-is-causing-refresh-of-the-embedded-youtube-video
ShubhenduVaid commentedon Feb 23, 2018
Probably the issue is that tab component is playing on the "display" value.
I made a similar component which changes the "visiblity" value instead of "display" and it stopped reloading.
angular-automatic-lock-bot commentedon Sep 8, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.