Skip to content

Introduce experimental VirtualView - #52519

Closed
lunaleaps wants to merge 1 commit into
react:mainfrom
lunaleaps:export-D77313890
Closed

Introduce experimental VirtualView#52519
lunaleaps wants to merge 1 commit into
react:mainfrom
lunaleaps:export-D77313890

Conversation

@lunaleaps

Copy link
Copy Markdown
Contributor

Summary:
Changelog: [Internal] - Experiment with intersection logic for VirtualViews in scrollView. Currently only on Android

Changes in detail

VirtualViewContainer is held by the ScrollView and is lazily instantiated once a VirtualView tries to access.

Upon initial layout, a VirtualView will add itself to the container and report its updated rect. VirtualViewContainer holds a sorted list of VirtualViews and iterates through them to update mode

Reviewed By: yungsters

Differential Revision: D77313890

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jul 9, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D77313890

Summary:
Pull Request resolved: react#52519

Changelog: [Internal] - Experiment with intersection logic for VirtualViews in scrollView. Currently only on Android

### Changes in detail
`VirtualViewContainer` is held by the ScrollView and is lazily instantiated once a VirtualView tries to access.

Upon initial layout, a VirtualView will add itself to the container and report its updated `rect`. `VirtualViewContainer` holds a sorted list of VirtualViews and iterates through them to update mode

Reviewed By: yungsters

Differential Revision: D77313890
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D77313890

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jul 10, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in e40c10b.

@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @lunaleaps in e40c10b

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants