If you encounter an issue listed here, please don’t create a new GitHub issue. These are known limitations we’re tracking.
Horizontal Lists with RTL Layout
We have a limitation where we’re not able to read the padding applied on the list usingcontentContainerStyle. Small values shouldn’t cause an issue; however, if you require precise scrollTo or initialScrollIndex, then apply padding or margin to the header instead.
Workaround
Instead of applying padding viacontentContainerStyle:
Horizontal Lists with Headers
If the horizontal list has a fixed size or header, we assume that the height of the list is fixed. If your use case requires the list to match the size of the items or resize based on the tallest child, just skip using the header.Workaround
Render the header as the first item in the list and give it a separate type usinggetItemType:
Data Re-ordering Can Cause Items to Move
This is becausemaintainVisibleContentPosition is enabled by default. Having it enabled by default allows us to handle any layout changes while scrolling upwards in a better way, like after an orientation change or a large scroll jump to the last item.
Workaround
If you’re experiencing issues with data re-ordering, disable this feature:Architecture Requirements
FlashList v2.x has been designed to be new architecture only and will not run on the old architecture. If you’re running on the old architecture or using FlashList v1.x, you can access the documentation specific to v1 at the FlashList v1 Documentation.Props Not Supported
Cannot Toggle horizontal Prop
The horizontal prop cannot be toggled dynamically. You can use a key on FlashList to recreate it if you need to switch between horizontal and vertical orientations.
Incompatible Prop Combinations
The following prop combinations are not supported:masonryandhorizontalprops are incompatiblenumColumnsandhorizontalprops are incompatible- Sticky headers are not supported when list is horizontal
Unsupported FlatList Props
The following props fromFlatList are currently not implemented:
columnWrapperStyledebuglistKey
FlatList props would bring no value if ported to FlashList due to differences in their underlying implementation:
disableVirtualizationgetItemLayoutinitialNumToRendermaxToRenderPerBatchsetNativePropsupdateCellsBatchingPeriodonScrollToIndexFailedwindowSize
We don’t currently plan to implement these props.
Viewability Config Limitations
You can set exactly one ofitemVisiblePercentThreshold or viewAreaCoveragePercentThreshold. Specifying both is not supported.