Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cache ScrollView content length before calling
scrollToIndex
(#38736)
Summary: Pull Request resolved: #38736 `scrollToIndex` relies on cached layout information, so we should cache the results from `onContentSizeChange` before attempting the scroll. Otherwise we will fail to scroll in RTL. Changelog: [General][Fixed] Cache ScrollView content length before calling `scrollToIndex` Reviewed By: lenaic Differential Revision: D47978635 fbshipit-source-id: 27f2a4702650e8a73e8812128821ca03f36216dd
- Loading branch information