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

feat(routing): Forwards refs for Link component #48

Merged
merged 4 commits into from
Aug 16, 2023

Conversation

mr-winter
Copy link
Contributor

No description provided.

In the onClick event Radix is checking whether the default event was prevented and bails out of doing its things.

Since this should just be for preventing the browser from following the link's url, it should be fine to run it just before the navigate call.
@mr-winter mr-winter changed the title Forwards refs for Link component feat(routing): Forwards refs for Link component Aug 16, 2023
@UberMouse UberMouse merged commit c716572 into beta Aug 16, 2023
1 check passed
@UberMouse UberMouse deleted the link-with-forward-ref branch August 16, 2023 23:41
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 this pull request may close these issues.

2 participants