Repository navigation
[release/11.0] Avoid false positive prepend detection that causes backward scroll jumps- #69448 - #69466
Conversation
|
Hi @ilonatommy. Please make sure you've updated the PR description to use the Shiproom Template. Also, make sure this PR is not marked as a draft and is ready-to-merge. To learn more about how to prepare a servicing PR click here. |
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Resolve the unrelated toolchain updates and ensure canceled refreshes cannot apply stale JavaScript anchor restoration.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 1
What changed in this PR
Backports virtualization provider-window, scrolling, cancellation, and anchor-restoration fixes to release/11.0, with expanded regression coverage.
Changes:
- Improves prepend/append detection, prefetching, and provider-result handling.
- Adds scroll-anchor and follow-mode fixes.
- Expands virtualization, navigation, rendering, and table tests.
- Updates release-branch SDK and dependency tooling.
| File | Description |
|---|---|
src/Shared/E2ETesting/BrowserFixture.cs |
Navigation prompt configuration |
src/Components/Web/test/Virtualization/VirtualizeTest.cs |
Unit regression coverage |
src/Components/Web/src/Virtualization/VirtualizeJsInterop.cs |
JavaScript interop updates |
src/Components/Web/src/Virtualization/Virtualize.cs |
Provider-window and anchoring logic |
src/Components/Web.JS/src/Virtualize.ts |
Scroll tracking and anchor restoration |
src/Components/test/testassets/BasicTestApp/VirtualizationTableScrollWithAppend.razor |
Virtualization test scenario |
src/Components/test/testassets/BasicTestApp/Index.razor |
Test scenario registration |
src/Components/test/E2ETest/Tests/VirtualizationTest.cs |
Browser virtualization coverage |
src/Components/test/E2ETest/Tests/RoutingTest.cs |
Navigation prompt test updates |
src/Components/test/E2ETest/ServerRenderingTests/VirtualizationRenderModesTest.cs |
Provider-call expectation updates |
src/Components/test/E2ETest/ServerExecutionTests/NavigationLockPrerenderingTest.cs |
Prerendering navigation coverage |
src/Components/QuickGrid/Microsoft.AspNetCore.Components.QuickGrid/src/QuickGrid.razor.cs |
Comparer documentation |
global.json |
SDK/toolset versions |
eng/Version.Details.xml |
Dependency versions |
eng/Version.Details.props |
Dependency properties |
.config/dotnet-tools.json |
Tool versions |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
…mps (#69362) Co-authored-by: Copilot <[email protected]>
wtgodbe
left a comment
There was a problem hiding this comment.
Please undo changes to eng/Version.Details.*, dotnet-tools.json, and global.json
57f35c3 to
4bb53e6
Compare
|
Hi @ilonatommy. This PR was just approved to be included in the upcoming servicing release. Somebody from the @dotnet/aspnet-build team will get it merged when the branches are open. Until then, please make sure all the CI checks pass and the PR is reviewed. |

Backport of #69362 to release/11.0
/cc @ilonatommy
Avoid false positive prepend detection that causes backward scroll jumps
Description
Spotted in Aspire dashboard. This change fixes multiple related
Virtualizeissues when an asynchronous items provider changes while the user is scrolling:Fixes #69380
Fixes #69381
Customer Impact
Applications using virtualized live data, including Aspire Dashboard and virtualized QuickGrid scenarios, can experience:
The issues affect both Server and WebAssembly rendering and are most visible with delayed providers, continuously updating data, table virtualization, and fresh item instances returned from each provider call.
There is no complete application-level workaround. Applications can reduce some symptoms by avoiding continuous updates or virtualization, but cannot reliably prevent the provider-window and anchoring races.
Regression?
Net10 didn't have viewport stabilization at all so it is not a regression in comparison to the previous version.
Risk
The changes affect internal Virtualize provider-window, anchoring, cancellation, and JavaScript observer behavior. There are no new public APIs or packaging changes. Risk is mitigated by targeted unit, browser, Server, WebAssembly, QuickGrid, table, fixed-height, and variable-height coverage.
Verification
Packaging changes reviewed?