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

NavigateTo no longer scrolls to the top #34791

Merged
merged 2 commits into from
Feb 24, 2025
Merged

NavigateTo no longer scrolls to the top #34791

merged 2 commits into from
Feb 24, 2025

Conversation

guardrex
Copy link
Collaborator

@guardrex guardrex commented Feb 24, 2025

Fixes #34789
Addresses #34729

We don't need to call this incremental behavioral improvement out in the articles because we never commented on it in detail in the first place. All we've ever said about the scroll position is that (emphasis added) ...

Blazor's enhanced navigation and form handling avoid the need for a full-page reload and preserves more of the page state, so pages load faster, usually without losing the user's scroll position on the page.

... and never remarked on it at all for NavigateTo coverage in the Routing article ... or anywhere else for that matter.

Therefore, we only need to mention this in the What's New article.

This will remain commented out until Preview 2 releases.

@guardrex guardrex self-assigned this Feb 24, 2025
@guardrex guardrex enabled auto-merge (squash) February 24, 2025 14:31
@guardrex guardrex merged commit fc50400 into main Feb 24, 2025
3 checks passed
@guardrex guardrex deleted the guardrex-patch-1 branch February 24, 2025 14:34
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

Successfully merging this pull request may close these issues.

NavigateTo no longer scrolls to the top for same page navigations
1 participant