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

PopoverPanel focus prop doesn't work when transition prop is set #3358

Closed
oliwheeler opened this issue Jul 3, 2024 · 2 comments · Fixed by #3361
Closed

PopoverPanel focus prop doesn't work when transition prop is set #3358

oliwheeler opened this issue Jul 3, 2024 · 2 comments · Fixed by #3361
Assignees

Comments

@oliwheeler
Copy link

What package within Headless UI are you using?

@headlessui/react

What version of that package are you using?

2.1.1

What browser are you using?

Chrome

Reproduction URL

Link to repro

Describe your issue

The focus prop on the PopoverPanel component doesn't focus on the panel when the transition prop is also set to true.

@oliwheeler oliwheeler changed the title PopoverPanel focus prop doesn't work when transition prop is also set to true PopoverPanel focus prop doesn't work when transition prop is set to true Jul 3, 2024
@oliwheeler oliwheeler changed the title PopoverPanel focus prop doesn't work when transition prop is set to true PopoverPanel focus prop doesn't work when transition prop is set Jul 3, 2024
@RobinMalfait RobinMalfait self-assigned this Jul 3, 2024
@RobinMalfait
Copy link
Member

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

You can already try it using:

  • npm install @headlessui/react@insiders.

@oliwheeler
Copy link
Author

Thank you!

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.

2 participants