-
-
Notifications
You must be signed in to change notification settings - Fork 983
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with iframe inside a div with display:none in Chrome 65 #567
Comments
It seems that in Chrome 65, using |
Have you tried using visibility: hidden instead? Would be great if you could open a bug with Chrome for this |
I try it later, but I don't understand why |
see the PR: #568 |
Thanks will try and find sometime over the weekend to push an updated release |
Hi, Thanks! |
Have you tried using If all else fails you can force the iFrame to resize from the parent page. |
I am showing the iframe inside one tab, the problem is happening when I switch to the other tab and after that I come back to the tab where the iframe is showing up, than the height from the iFrame is just 20px. I am not sure if I can easily use |
|
Thanks for your tips. At the end I force iFrame resize and looks good now. |
Recently, Chrome has release version 65, and it seems to be confusing when using iframe-resizer. The problem is that when I wrap an
iframe
with adiv
element, it will be set with a small height when thediv
element is set to be hidden withdisplay: none;
, and in some machines,resizedCallback
of iframe-resizer is not called when thediv
element is set withdisplay: block;
again. It seems that Chrome 65 has changed some rendering way resulting in this problem, and I hope to open this issue to help authors of iframe-resizer to research the problem and even to report a bug for Chrome.The text was updated successfully, but these errors were encountered: