[11.0 P6] Docs for virtualize updates#37270
Open
ilonatommy wants to merge 2 commits into
Open
Conversation
Collaborator
|
Hi @ilonatommy! ... I'll be back on July 1st. 🏖️ |
guardrex
approved these changes
Jul 2, 2026
Collaborator
There was a problem hiding this comment.
Approved with mostly NITs.
I think this is for .NET 11, right? I suggest a moniker range change.
Otherwise ...
- I dropped in a few definite articles ("the"), which seem to make those sentences read a bit better.
- I dropped in a couple XREF cross-links for API.
BTW ... If you want to, you can set the ms.date to the planned Pre6 release date of 07/14/2026.
|
|
||
| :::moniker-end | ||
|
|
||
| :::moniker range=">= aspnetcore-10.0" |
Collaborator
There was a problem hiding this comment.
This is for .NET 11, correct? Also, I'll include my "UPDATE 11.0" tracking comment for getting the API into place after GA.
Suggested change
| :::moniker range=">= aspnetcore-10.0" | |
| :::moniker range=">= aspnetcore-11.0" | |
| <!-- UPDATE 11.0 - API Browser cross-links --> |
|
|
||
| ### `InitialItemIndex` parameter | ||
|
|
||
| Set `InitialItemIndex` to open the list at a specific item index on first interactive render. This is a one-shot parameter—changes after first render are ignored. Out-of-range values are clamped. |
Collaborator
There was a problem hiding this comment.
Suggested change
| Set `InitialItemIndex` to open the list at a specific item index on first interactive render. This is a one-shot parameter—changes after first render are ignored. Out-of-range values are clamped. | |
| Set `InitialItemIndex` to open the list at a specific item index on the first interactive render. This is a one-shot parameter—changes after first render are ignored. Out-of-range values are clamped. |
|
|
||
| ### `ScrollToItemAsync` method | ||
|
|
||
| Call `ScrollToItemAsync` to programmatically scroll to an item after first render. The scroll is instant (no animation). The method returns a `Task` that completes when the target item is aligned to the top of the viewport. Cancellation is supported via `CancellationToken`. |
Collaborator
There was a problem hiding this comment.
Suggested change
| Call `ScrollToItemAsync` to programmatically scroll to an item after first render. The scroll is instant (no animation). The method returns a `Task` that completes when the target item is aligned to the top of the viewport. Cancellation is supported via `CancellationToken`. | |
| Call `ScrollToItemAsync` to programmatically scroll to an item after the first render. The scroll is instant (no animation). The method returns a <xref:System.Threading.Tasks.Task> that completes when the target item is aligned to the top of the viewport. Cancellation is supported via a <xref:System.Threading.CancellationToken>. |
|
|
||
| Call `ScrollToItemAsync` to programmatically scroll to an item after first render. The scroll is instant (no animation). The method returns a `Task` that completes when the target item is aligned to the top of the viewport. Cancellation is supported via `CancellationToken`. | ||
|
|
||
| If multiple calls occur, the last call wins—earlier calls complete normally but only the final target is honored. If the user scrolls during a programmatic scroll, the user's scroll takes precedence. Calling before first interactive render throws an <xref:System.InvalidOperationException>. |
Collaborator
There was a problem hiding this comment.
Suggested change
| If multiple calls occur, the last call wins—earlier calls complete normally but only the final target is honored. If the user scrolls during a programmatic scroll, the user's scroll takes precedence. Calling before first interactive render throws an <xref:System.InvalidOperationException>. | |
| If multiple calls occur, the last call wins—earlier calls complete normally but only the final target is honored. If the user scrolls during a programmatic scroll, the user's scroll takes precedence. Calling before the first interactive render throws an <xref:System.InvalidOperationException>. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Programmatic scroll got added in Add InitialIndex parameter and ScrollToIndexAsync API to
Virtualize<TItem>aspnetcore#66753 an is renamed after review in API review rename ofInitialIndexandScrollToIndexAsyncaspnetcore#67312.AnchorModealso has a pending rename in API review rename ofAnchorModeaspnetcore#67313, we are changingBeginning->Start.Internal previews