Merge PR #23846 fix/learn-mfe/resize-iframe
* Commits: Stop skipping chromeless iframe resize onload event
This commit is contained in:
@@ -137,7 +137,7 @@ ${HTML(fragment.foot_html())}
|
||||
var newHeight = contentElement.offsetHeight;
|
||||
var newWidth = contentElement.offsetWidth;
|
||||
|
||||
if (newWidth === lastWidth && newHeight === lastHeight) {
|
||||
if (eventType !== 'load' && newWidth === lastWidth && newHeight === lastHeight) {
|
||||
console.log('MFE', 'Ignore resize', newWidth, newHeight, eventType);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user