You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if it would be possible to specify/pass the window and document into resize-observer-polyfill.
I will be loading my script using the FIF (Friendly iFrame) method. When I do this, I have to get the parent window and parent document. If I attempt to use the global window and global document, I'll end up with the window and document of the iframe, not the main page.
It's worth noting that the ResizeObserver callback is fired once initially, even if the element is in the parent window, but resize events on the element are not detected properly.
I was wondering if it would be possible to specify/pass the window and document into resize-observer-polyfill.
I will be loading my script using the FIF (Friendly iFrame) method. When I do this, I have to get the parent window and parent document. If I attempt to use the global window and global document, I'll end up with the window and document of the iframe, not the main page.
Information on FIF can be found at the following links:
https://www.facebook.com/note.php?note_id=10151176218703920
http://www.lognormal.com/blog/2012/12/12/the-script-loader-pattern/
Thanks!
The text was updated successfully, but these errors were encountered: