mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
0e69050612
Summary: The offset we record should be the one closest to the reference zero-point in the coordinate space. This makes scroller offset reference match the cell reference we keep in D47978631. Changelog: [General][Fixed] - Use right edge of ScrollView viewport for `scrollMetrics.offset` in RTL bypass-github-export-checks Reviewed By: lenaic Differential Revision: D48132236 fbshipit-source-id: 3307081e5e859f1b4afbc15a84c5be1b33915206
@react-native/virtualized-lists
Installation
yarn add @react-native/virtualized-lists
Note: We're using yarn to install deps. Feel free to change commands to use npm 3+ and npx if you like
Testing
To run the tests in this package, run the following commands from the React Native root folder:
yarnto install the dependencies. You just need to run this onceyarn jest packages/virtualized-lists.