Getting the error Uncaught (in promise) TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'. in the console. Otherwise, everything seems to be behaving just fine.
The error is only occurring when the component is in single-select-mode, and happens when selecting. I have a feeling it's related to the dropdown component unmounting and the dom element reference disappearing before floating UI is finished using it.
Use Version
"@headlessui-float/vue": "^0.11.3", "@headlessui/vue": "^1.7.16", "vue": "^3.3.4", "@floating-ui/core@^1.0.0", "@floating-ui/core@^1.4.1" "@floating-ui/dom@^1.0.0", "@floating-ui/dom@^1.2.1" Chrome
Describe the bug
Getting the error
Uncaught (in promise) TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
in the console. Otherwise, everything seems to be behaving just fine.To Reproduce
I have this custom component:
And I'm using it like this:
The error is only occurring when the component is in single-select-mode, and happens when selecting. I have a feeling it's related to the dropdown component unmounting and the dom element reference disappearing before floating UI is finished using it.