e3cbcc43f982ad3eb0775f1b3cf2425df13a0456
When the last portal is unmounted we will document.body.removeChild(target), but this crashes when something tampered with it. This is reproduceable in the tests. Instead we now ensure that the portal root always exists when mounting. We will also ensure to target.parentElement.removeChild which will ensure that we can reference the parent correctly.
Headless UI
A set of completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
Packages
| Name | Version | Downloads |
|---|---|---|
@headlessui/react |
||
@headlessui/vue |
Description
Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
Languages
TypeScript
95.3%
Vue
4.3%
JavaScript
0.3%
Shell
0.1%