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

IWC is initialized before dom content is initialized #100

Closed
lakhoune opened this issue Feb 9, 2023 · 0 comments
Closed

IWC is initialized before dom content is initialized #100

lakhoune opened this issue Feb 9, 2023 · 0 comments

Comments

@lakhoune
Copy link
Member

lakhoune commented Feb 9, 2023

Currently, the IWC function is initialized in some cases before the dom has finished loading. In the context of the Social bot framework, importing the widgets will thus fail because it throws an error that it cant find the HTML tag in the document.

We should move the initialization process to the firstUpdated function of the lit component

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

1 participant