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

Added: waitForLoad option #1267

Merged
merged 1 commit into from
Jun 7, 2024
Merged

Added: waitForLoad option #1267

merged 1 commit into from
Jun 7, 2024

Conversation

davidjbradshaw
Copy link
Owner

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.

@davidjbradshaw davidjbradshaw merged commit 6bdd90d into master Jun 7, 2024
4 checks passed
@davidjbradshaw davidjbradshaw deleted the waitForLoad branch June 7, 2024 18:02
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

Successfully merging this pull request may close these issues.

1 participant