Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FlatList example fixes (facebook#38739)
Summary: Pull Request resolved: facebook#38739 1. The separator here adds horizontal width, except when the cell is tapped. This is meant to be a visual effect for vertical FlatList, but makes `getItemLayout` incorrect and results in odd layout shifts. Do not use when horizontal. 2. Disabling "fixed height" leads to a barrage of errors because the example sets `initialScrollIndex` but does not set an `onScrollToIndexFailed` prop. Changelog: [Internal] Reviewed By: rozele Differential Revision: D47978628 fbshipit-source-id: 708cae0600535f9eecd3ac422b93736edd80ba72
- Loading branch information