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

router/view-transitions do not respect anchors #518

Open
wgehner opened this issue Mar 21, 2025 · 1 comment
Open

router/view-transitions do not respect anchors #518

wgehner opened this issue Mar 21, 2025 · 1 comment
Labels
nuekit Related to nuekit package

Comments

@wgehner
Copy link

wgehner commented Mar 21, 2025

Describe the Bug

URL hashes should be part of navigation history

Environment

Mac RC2

Minimal Reproduction

In simple-blog /@global/layout.html, replace

<footer>

with

<footer id="footer">

In small browser window, enter http://localhost:8083/#footer

Page will come up, scrolled to the footer.

Navigate to Contact.

Hit browser back button, it should scroll to footer.

In other words, heading_ids: true (intended for URL hashes) breaks view_transitions: true.

@nobkd nobkd added the nuekit Related to nuekit package label Mar 22, 2025
@nobkd
Copy link
Collaborator

nobkd commented Mar 22, 2025

May or may not be connected (just had to think of this when reading about the hash):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nuekit Related to nuekit package
Projects
None yet
Development

No branches or pull requests

2 participants