Repository navigation
Document opening a list or virtual list at a row - #611
Open
wojt-janowski wants to merge 1 commit into
Open
wojt-janowski wants to merge 1 commit into
wojt-janowski wants to merge 1 commit into
Conversation
auto-scroll-to on native:list and native:virtual-list (NativePHP/mobile-ui#174) and HasVirtualListWindow::scrollVirtualListTo() (NativePHP/mobile-air#608). Also fixes the virtual list page's trait import: HasVirtualListWindow is in Native\Mobile\Edge\Concerns, not Edge\Traits. Amp-Thread-ID: https://ampcode.com/threads/T-01a1dca0-9fd9-70ee-9a18-d0b2c7791ec9 Co-authored-by: Wojt Janowski <wojt@clinically.com.au>
This branch has not been deployed
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.
Documents opening a list at a row, as asked on NativePHP/mobile-air#608.
auto-scroll-toprop andautoScrollTo()from Open a list or virtual list at a row with auto-scroll-to mobile-ui#174, with an "Opening at a row" example. It covers how rows are counted in a list with sections, when the list scrolls and when it doesn't, rows that haven't loaded yet, and how to scroll to the same row again.HasVirtualListWindow::scrollVirtualListTo()with$virtualScrollTofrom Add HasVirtualListWindow::scrollVirtualListTo() to open a virtual list at a row mobile-air#608, which moves the window so it holds the row.auto-scroll-tois marked since mobile-ui 0.9, andscrollVirtualListTo()since 4.7, the first releases that include them.Also fixes the virtual list page's import:
HasVirtualListWindowis inNative\Mobile\Edge\Concerns, notNative\Mobile\Edge\Traits, so the documenteduseline didn't resolve.Testing
php artisan test --filter=Documentation: 8 passed.