Robin Malfait e3cbcc43f9 fix Portal cleanup issue (#266)
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.
2021-04-02 15:55:16 +02:00
2021-03-22 15:01:38 +01:00
2021-01-30 14:46:54 +01:00
2021-04-02 15:55:16 +02:00
2020-09-16 18:19:33 +02:00
2020-09-16 18:19:33 +02:00
2021-04-02 15:55:15 +02:00
2020-09-16 18:19:33 +02:00
2021-02-11 19:36:20 +01:00
2020-09-16 18:19:33 +02:00
2021-04-02 15:55:15 +02:00

Headless UI

A set of completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.

Packages

Name Version Downloads
@headlessui/react npm version npm downloads
@headlessui/vue npm version npm downloads
S
Description
Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
Readme 6.5 MiB
Languages
TypeScript 95.3%
Vue 4.3%
JavaScript 0.3%
Shell 0.1%