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

Add support for anchor links #174

Open
TDesjardins opened this issue Jan 30, 2021 · 0 comments
Open

Add support for anchor links #174

TDesjardins opened this issue Jan 30, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@TDesjardins
Copy link
Collaborator

Nalu uses anchors for routing. Therefore anchors couldn't be used for scrolling to a special element. Furthermore the content is loaded asynchronous which also prevents that.

The idea is to add an additonal info which contains the anchor info to the routing path which can be used to scroll to this element.
This link shows a guide how this could be done:
https://gajus.medium.com/making-the-anchor-links-work-in-spa-applications-618ba2c6954a

Before implementing this we should investigate if there are any best practices for adding this notations to the hash.

@FrankHossfeld FrankHossfeld added the enhancement New feature or request label Jan 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants