Skip to content
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

Popover: nested popovers don't open #2285

Closed
raduflp opened this issue Feb 15, 2023 · 2 comments · Fixed by #2293
Closed

Popover: nested popovers don't open #2285

raduflp opened this issue Feb 15, 2023 · 2 comments · Fixed by #2293
Assignees

Comments

@raduflp
Copy link

raduflp commented Feb 15, 2023

What package within Headless UI are you using?
@headlessui/react

What version of that package are you using?
1.7.8 - 1.7.10

What browser are you using?
Firefox, Chrome, Safari

Reproduction URL
https://stackblitz.com/edit/react-ts-tqzsk8
for the working version change the version of @headlessui/react in package.json to 1.7.7

Describe your issue
Starting with @headlessui/react v1.7.8 you cannot open a Popover from an existing Popover.Panel. It worked fine in 1.7.7.
I've attached a minimal example. Just for context, in our scenario we have a drill down UX where the user can navigate a few levels deep.

@laneme
Copy link

laneme commented Feb 16, 2023

Popovers doesnt open even when not nested. Might wanna edit your title.

For those who cant get it to work even after downgrading to 1.7.7, might wanna check your lock file. Doing this to a fixed version should solve it.

-"@headlessui/react": "^1.7.7",
+"@headlessui/react": "1.7.7",

@RobinMalfait
Copy link
Member

Hey! Thank you for your bug report!
Much appreciated! 🙏

This should be fixed by #2293, and will be available in the next release.

You can already try it using:

  • npm install @headlessui/react@insiders.
  • npm install @headlessui/vue@insiders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants