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

Anchor link with something other than plain text causes full reload #41

Open
atlemagnussen opened this issue Jan 16, 2023 · 0 comments
Open

Comments

@atlemagnussen
Copy link

Great router btw,

The world will embrace web components and then we need routers like this!

The small bug I found when I had for example

<a href="about">
     <h1>About</h1>
</a>

and click on it, it causes a full reload. While without the h1 tag it works fine.

I know I can use the router-link element and this seem to work. But yeah it would be very smooth to use anchor tags everywhere

Thanks for the good work

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