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
In this commit, the DOMContentLoaded event was introduced. This new implementation generates client-side errors because it depends on the page lifecycle, and sometimes the event occurs but is not dispatched.
Solution
Add an event wrapper that checks the document state before adding the event listener or executing it.
Package version
4.1.0-beta.5
Describe the bug
Issue description
In this commit, the
DOMContentLoaded
event was introduced. This new implementation generates client-side errors because it depends on the page lifecycle, and sometimes the event occurs but is not dispatched.Solution
Add an event wrapper that checks the document state before adding the event listener or executing it.
DOMContentLoaded
events based on document state #65The text was updated successfully, but these errors were encountered: