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

Unable to click links in <Label> Components #3658

Open
GianlucaGuarini opened this issue Feb 24, 2025 · 0 comments
Open

Unable to click links in <Label> Components #3658

GianlucaGuarini opened this issue Feb 24, 2025 · 0 comments

Comments

@GianlucaGuarini
Copy link

What package within Headless UI are you using?

@headlessui/react

What version of that package are you using?

v2.2.0

What browser are you using?

N/A

Reproduction URL

https://codesandbox.io/p/devbox/optimistic-estrela-wfczrn?file=%2Fpackage.json%3A11%2C35&workspaceId=ws_4XtpU2CFF2NEaPUDyXQDog
Describe your issue

<a href> Tags inside <Label> Components can't be clicked

Steps to reproduce the issue:

  1. Click on the Label with a link

What happens

It's not possible to click on links inside Label components

What should happen

The click on the a tags shouldn't be prevent defaulted

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

No branches or pull requests

1 participant