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

Intra-page fragment linking not working with wouter #1053

Open
lyzadanger opened this issue May 26, 2023 · 0 comments
Open

Intra-page fragment linking not working with wouter #1053

lyzadanger opened this issue May 26, 2023 · 0 comments
Labels
pattern library concerning the build, structure, styling or components for the pattern library

Comments

@lyzadanger
Copy link
Contributor

lyzadanger commented May 26, 2023

(This can probably be boiled down to wouter not reacting to hashChange events).

While a link to a page with a fragment/hash now works with wouter, fragment linking within a single route/page does not work (nothing happens). Presumably this is because we need to configure wouter appropriately.

There's some slightly abstruse documentation about customizing the location hook in related ways in wouter's README.

@lyzadanger lyzadanger added the pattern library concerning the build, structure, styling or components for the pattern library label May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pattern library concerning the build, structure, styling or components for the pattern library
Projects
None yet
Development

No branches or pull requests

2 participants