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 Internal Links with Base Path and Enable External Links Without Modifier #2983

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

LeWimbes
Copy link

This pull request addresses the following issues:

  • Internal Links: When a base_path is set in Dioxus.toml, internal links only worked with a simple left click; CTRL + left click failed because the href only contained the absolute path to the next page without the base_url.
  • External Links: External links required CTRL + left click due to the set action overwriting the normal left click behavior. This issue is independent of the base_path.

Additionally, I noticed that this commit broke base paths in general, but this pull request does not address that issue.

This is one of my first pull requests, so please let me know if there are any changes or improvements needed. Thank you!

@LeWimbes LeWimbes changed the title Fix links with set base_path & make external links usable without modifier Fix Internal Links with Base Path and Enable External Links Without Modifier Sep 20, 2024
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.

1 participant