-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<Dialog> won't open when unmount is set to false #3348
Comments
This should be fixed by #3352, and will be available in the next release. You can already try it using:
|
Awesome, thanks @RobinMalfait , will try it out ASAP. :) |
I can confirm that the fix from #3352 now works. I'm using: And my markup looks like this:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What package within Headless UI are you using?
"@headlessui/react": "0.0.0-insiders.fbad6a9",
What browser are you using?
Chrome
Version 126.0.6478.127 (Official Build) (arm64)
Reproduction URL
https://github.com/spacecat/headless-ui-dialog-unmount
Describe your issue
unmount={false}
to the<Dialog>
componentunmount={false}
to the<Dialog>
componentIf you comment out
transition
on both the<DialogBackdrop>
and<DialogPanel>
while keepingunmount={false}
on<Dialog>
, the dialog will start working again when you click the button.The text was updated successfully, but these errors were encountered: