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

Merged
merged 3 commits into from
Jun 11, 2024

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
@dennisoelkers dennisoelkers merged commit 52690f9 into master Jun 11, 2024
6 checks passed
@dennisoelkers dennisoelkers deleted the fix/client-side-routing-in-button branch June 11, 2024 10:52
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