tailwindlabs / headlessui

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

[2.1.3]: Popover issues with transition prop #3438

Closed Dragate closed 4 weeks ago

Dragate commented 1 month ago

What package within Headless UI are you using?

@headlessui/react

What version of that package are you using?

2.1.3

What browser are you using?

Chrome

Reproduction URL

https://codesandbox.io/p/devbox/falling-sunset-24wzzr

Describe your issue

Dragate commented 1 month ago

Possible duplicate of #3437

cod3blox commented 1 month ago

Can confirm the same problems. Compared to 2.1.2, it seeems that the portal of the popup does not get removed on close.

M4RC0Sx commented 4 weeks ago

Same here

reinink commented 4 weeks ago

Hey folks, thanks for reporting this! I am able to reproduce this using a Tailwind UI component (see below). I recommend sticking to 2.1.2 until we've got this figured out 👍

https://github.com/user-attachments/assets/b304c762-f5bf-4798-81af-5ce27a15a18d

M4RC0Sx commented 4 weeks ago

Hey folks, thanks for reporting this! I am able to reproduce this using a Tailwind UI component (see below). I recommend sticking to 2.1.2 until we've got this figured out 👍

https://github.com/user-attachments/assets/b304c762-f5bf-4798-81af-5ce27a15a18d

Hi! But the issue I opened that happens when you spam-click the button happens on 2.1.2 too. It is not the same issue and I think it should be reopened

RobinMalfait commented 4 weeks ago

Hey sorry about the regression!

This should be fixed by #3448, and will be available in the next release (2.1.4).

You can already try it using: