Repository navigation
[release/11.0] Fix Virtualize jumping away rom the bottom - #70019
Conversation
* Reproduce automatic loading of older, timestamp-sorted provider history and assert that stale anchor correction cannot undo the bottom pin. * Fix stale anchor correction undoing Virtualize end pin. * A request to load visible items can be ignored while Virtualize restores the scroll position. Check again after restoration so the last items are loaded instead of leaving blank space at the bottom. * Simplify end-anchor history regression test Co-authored-by: Copilot App <[email protected]> Copilot-Session: aff37fd2-5a5e-43e4-a438-446e4254957b --------- Co-authored-by: Copilot App <[email protected]> Copilot-Session: aff37fd2-5a5e-43e4-a438-446e4254957b
|
Hi @github-actions[bot]. 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. |
|
Hi @github-actions[bot]. 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. |
|
Looks like this PR hasn't been active for some time and the codebase could have been changed in the meantime. |
Backport of #69926 to release/11.0
/cc @ilonatommy
Fix Virtualize jumping away rom the bottom
Keep the end scroll when older log history is loaded.
Description
With end anchoring,
Virtualizecan scroll to the bottom and then jump back to an old item. An old scroll correction runs after the bottom scroll and undoes it.Clear that correction when scrolling to the bottom. Add a browser test that loads older log history and checks that the bottom scroll is not undone. Also refresh spacer observations when viewport-fill requests were suppressed during anchor restoration, preventing a blank viewport.
Fixes #69823
Customer Impact
Live log/chat views can jump away from the latest items or temporarily show blank space.
Regression?
End anchoring was introduced in .NET 11.
Risk
Targeted end-anchoring fix with browser regression coverage.
Verification
Verified on #69926 with browser reproduction and a Selenium regression test (10/10 passes with the fix; 10/10 failures without it). Validation has not been rerun on this backport.
Packaging changes reviewed?
When servicing release/2.3