web3modal.openModal() fails when not fully loaded #1847
Unanswered
GrahamMcBain
asked this question in
Developer Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Every once in a while web3modal.openModal() fails silently. It appears to happen when the component is not fully loaded, shortly after the dapp page is open (specifically, when some styles e.g. "--color-fg-accent: rgb(61,92,245);" are not yet added to the page's opening HTML tag). However, there is no error.
Is it possible to detect that the web3modal component is not yet ready to open and wait for it to fully load?
Beta Was this translation helpful? Give feedback.
All reactions