Removed onLoad from iFrame element (#19522)

no issue

- removed the onLoad function from the iFrame element and only rely on
the listener waiting for 'portal-ready' before showing Portal
This commit is contained in:
Ronald Langeveld 2024-01-18 15:09:52 +00:00 committed by GitHub
parent 0c5cdbf4d2
commit 3e67544331
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,7 +59,6 @@ const PortalFrame: React.FC<PortalFrameProps> = ({href, onDestroyed, selectedTab
src={href}
title="Portal Preview"
width="100%"
onLoad={makeVisible}
/>
</>
);