-
Notifications
You must be signed in to change notification settings - Fork 122
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
fix(NOJIRA-123): Prevent loading live embed multiple times #668
Conversation
[BOT] Preview available with hash |
Quality Gate passedIssues Measures |
🥷 Code experts: gierlas, mumpo gierlas, mumpo have most 🧠 knowledge in the files. See details
Knowledge based on git-blame:
Knowledge based on git-blame:
Knowledge based on git-blame: To learn more about /:\ gitStream - Visit our Docs |
# [@typeform/embed-v5.2.0](https://github.com/Typeform/embed/compare/@typeform/embed-v5.1.0...@typeform/embed-v5.2.0) (2024-11-20) ### Bug Fixes * **NOJIRA-123:** Prevent loading live embed multiple times ([#668](#668)) ([ac398e0](ac398e0)) ### Features * **TU-17542:** Update docs on sandbox mode ([#664](#664)) ([be89ed2](be89ed2)), closes [#662](#662)
🎉 This PR is included in version @typeform/embed-v5.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
When the SDK is included multiple times, live embeds get loaded multiple times because they are loaded async. Customers may end up with multiple
embed.js
scripts in their website when they copy-paste multiple embed snippets into one page.The issue is most visible when the embedded form opens automatically, eg. on load, as reported in this community thread.