Skip to content
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

Load event issue on Webkit/Opera #66

Open
DrySs opened this issue Jul 2, 2015 · 1 comment
Open

Load event issue on Webkit/Opera #66

DrySs opened this issue Jul 2, 2015 · 1 comment

Comments

@DrySs
Copy link

DrySs commented Jul 2, 2015

Hi there,

I think there is a problem with the load event mechanism used for Webkit/Opera browsers.

In some case, script never goes inside $(this).load() event (at line 225), so iframe resize does not happen. For example, it occurs when I dynamically add DOM elements with an Ajax return to iframe content. Then, when I call a resize, $(this).load() event is not thrown.

On Firefox, it's working well (as we don't use $(this).load() event).

Any idea?
Thanks!

@house9
Copy link
Owner

house9 commented Jul 2, 2015

I don't have time to look into this right now, but you might be able to leverage https://github.com/house9/jquery-iframe-auto-height#heightcalculationoverrides

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants