google-chrome - 从 Chrome v.41 开始,iFrame 未完全渲染

标签 google-chrome iframe

自从我们从 Chrome v.40 升级以来,我们在网站上使用了 iFrame,它偶尔会显示全部空白或部分空白。 调整浏览器窗口的大小,或者有时在屏幕上移动鼠标指针可以使内容完全呈现。 这是 iFrame 的 HTML:

<iframe src="homepage.do" frameborder="0" name="iframe" id="iframe" scrolling="no">
                <p>Your browser doesn't support iframes.</p>
</iframe>

这是它的外观示例(这是大部分框架为空白的示例):

enter image description here

iFrame 使用 javascript/JQuery 动态更新:

$('#iframe').attr('src', myLink);

有人对此有什么想法吗?

最佳答案

这是一个 Chrome 错误。有a pending issue at the Chromium project page关于这个。

关于google-chrome - 从 Chrome v.41 开始,iFrame 未完全渲染,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30238444/

相关文章:

php - 所有站点交互均通过单个页面进行

html - 如何在具有灵活高度的html css中嵌入Google Form iframe(响应式)

html - 我怎样才能修复它在 chrome 中的样子

html - 使用 ReactToPrint 时,Chrome 中的横向设置不可用

html - IE9 - 当父框架处于 Quirks 模式时,是否可以在 Edge (HTML5) 中渲染子框架?

css - IFRAME:在 IE 和 Edge 中悬停无法按预期工作

javascript - 谷歌浏览器问题 : scroll to bottom detection on zoom out

javascript - 在 Mac 上的 Chrome 中查看希伯来语字体时出现问题

html - 将列表更改为网格后,图像未在 Chrome 中显示

javascript - 单击按钮可以在 iframe 中引发事件吗?