tailwindlabs / headlessui

Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.

Home Page:https://headlessui.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clicking on a Switch inside of a PopoverPanel closes the Popover

barrelltech opened this issue · comments

What package within Headless UI are you using?

@headlessui/react

What version of that package are you using?

2.0.0-alpha.4

What browser are you using?

Arc & Safari

Reproduction URL

I cannot create one at this time, I just would like to report the bug so you're aware of it. I've have an old switch component I can use so it's nothing urgent.

Describe your issue

I upgraded to version 2, and I have some settings rendered within a form. If I use the Switch component inside of my PopoverPanel, it closes the Popover

Went to make a screen recording and it started working, must be ghosts in my machine 👻 closing for now, client error!