tailwindlabs / headlessui

Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
https://headlessui.com
MIT License
25.02k stars 1.03k forks source link

Fix incorrect `Transition` boundary for `Dialog` component #3331

Closed RobinMalfait closed 6 days ago

RobinMalfait commented 6 days ago

Ensure that each Dialog is always a new Transition boundary such that nested TransitionChild components are correctly handled.

If you happen to nest Dialog components in places where you shouldn't (e.g.: inside a Disclosure instead of a DisclosurePanel) then it could lead to a crash that has been fixed by this change.

Fixes: #3316 Fixes: #3322

vercel[bot] commented 6 days ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
headlessui-react ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2024 11:50am
headlessui-vue ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2024 11:50am