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

Fix client-side routing in Button component. #19267

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

linuspahl
Copy link
Contributor

@linuspahl linuspahl commented May 7, 2024

Note: This should be backported to 6.0.

Description

This PR is fixing the client-side routing for button links by using the Link-component instead of an a-element when the href prop is specified.

We implemented the same change for the MenuItem component in #19225. Please have a look at this PR for more information.

@linuspahl linuspahl force-pushed the fix/client-side-routing-in-button branch from 16c84e9 to efb1372 Compare May 7, 2024 07:40
@linuspahl linuspahl marked this pull request as ready for review May 7, 2024 07: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.

None yet

2 participants