-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Add InitialIndex parameter and ScrollToIndexAsync API to Virtualize<TItem>
#66753
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
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
1b2a0b5
Introduce a programmatic API to scroll a Virtualize<TItem> component …
ilonatommy 7b3ac1f
Rename: Item -> Index.
ilonatommy 93ffce6
Simplify.
ilonatommy 746238b
Cleanup.
ilonatommy 244e4ed
Nullable state duplicated 0-th state. Remove nullable.
ilonatommy fde7794
Use the pattern from NavigationManager or MAUI's CollectionView.Scrol…
ilonatommy d98775d
Apply feedback.
ilonatommy 29006c2
Empty list: nothing will ever render, so unblock the awaiter.
ilonatommy f1d72f8
Fix InitialIndex re-applying when changed from 0 to a non-zero value …
ilonatommy 5191c02
Cancel in-flight refresh on user scroll during ScrollToIndexAsync and…
ilonatommy 2850ba9
Feedback: Surface the exception.
ilonatommy da829fc
Fix AnchorMode interfering with InitialIndex/ScrollToIndex scrolling,…
ilonatommy 5e5aa4b
Tmp: logging.
ilonatommy 39c389d
Wait for async provider in ScrollDoesNotFlash test to fix CI.
ilonatommy e413015
Fix: values over the range should be capped same as negative.
ilonatommy 0331e71
Revert the tmp logging - test is passing now.
ilonatommy ae06b29
Stabilize test on CI.
ilonatommy 99a7d6b
Add 1 px tolerance to test.
ilonatommy 5f0186d
Merge branch 'main' into scroll-to-index
ilonatommy 8269b8f
Merge branch 'main' into scroll-to-index
ilonatommy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.