By default iframe-resizer tries to send a message to the iframe as soon as it has been called. This creates problems for frameworks like Vue as they will always manage to make this call before the iframe has had time to load.
Setting this option to true stops an erroneous error message in the browser console from being displayed.
Add
waitForLoad
option.By default iframe-resizer tries to send a message to the iframe as soon as it has been called. This creates problems for frameworks like Vue as they will always manage to make this call before the iframe has had time to load.
Setting this option to true stops an erroneous error message in the browser console from being displayed.