+ Start a Discussion
Flint LockwoodFlint Lockwood 

iframe Salesforce Lightning

I have an iframe embedded within a Lightning page. Whenever the page loads, instead of loading the iframe, the page is redirected to the iframe URL instead. Does anyone know what's happening here?
hi Flint Lockwood  
can you please share you component code onces or same sample code 
Flint LockwoodFlint Lockwood
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId" access="global" >

<div style="overflow:hidden;">
        <iframe id="reportFrame" src="https://mytestdev.lightning.force.com/" height="800px" width="100%" scrolling="yes" style="position:relative;"/>


above code is working fine in my dev or.
User-added image 
the URL is showing within the iframe 
Flint LockwoodFlint Lockwood
Yes, it works fine in sandbox or developer accounts. However, once I deploy into Production, the iframe navigates the entire page.