Skip to content

Scroll to hash after navigation - #197

Merged
shgysk8zer0 merged 1 commit into
masterfrom
bug/scroll-anchor
Aug 28, 2026
Merged

shgysk8zer0 merged 1 commit into
masterfrom
bug/scroll-anchor

Conversation

@shgysk8zer0

Copy link
Copy Markdown
Member

This change ensures the app scrolls to a URL hash/anchor after navigation and initial page loads, including when history.scrollRestoration is manual. It also waits for view transitions and navigation updates to finish before performing the scroll, and updates the changelog/package metadata for the 1.3.1 release. A test view was adjusted with extra vertical space to cover the hash-scrolling behavior.

Description and issue

Please add relevant sections (Added, removed, changed, fixed) to CHANGELOG.md

List of significant changes made

This change ensures the app scrolls to a URL hash/anchor after navigation and initial page loads, including when history.scrollRestoration is manual. It also waits for view transitions and navigation updates to finish before performing the scroll, and updates the changelog/package metadata for the 1.3.1 release. A test view was adjusted with extra vertical space to cover the hash-scrolling behavior.
@shgysk8zer0 shgysk8zer0 added the bug Something isn't working label Aug 28, 2026
@shgysk8zer0 shgysk8zer0 self-assigned this Aug 28, 2026
@shgysk8zer0 shgysk8zer0 added the bug Something isn't working label Aug 28, 2026
@shgysk8zer0
shgysk8zer0 merged commit 259777c into master Aug 28, 2026
7 checks passed
@shgysk8zer0
shgysk8zer0 deleted the bug/scroll-anchor branch August 28, 2026 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant