-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'. #6
Comments
I also had this. Seems like, after a lot of debugging, this is being caused because the ref is set before the element is actually inserted into the DOM which causes floating-ui to not find its parent's computed styles. |
Could you fix it? @gabrielmfern |
@itsyoboieltr Here's a link for the support thread on Discord that others from the community helped me in fixing it https://discord.com/channels/722131463138705510/1215409288030330972 |
I can't open this link, can you show me the code to let me known how to fix it? |
@beoxgame it's a bit of a long thread, the error might have a lot of causes, but in my situation it was my code rendering twice due to a bundler of mine. You need Discord installed for the link to work, it was inside of Solid's Discord server. |
thx, after joined solid's channel, the link is working fine. |
I am trying to use the library in SolidStart. I keep on getting this error:
The text was updated successfully, but these errors were encountered: