'FlatList swipe omnidirectional

I've a bug with FlatList horizontal. Sometime, my scroll was run on multiverse.

This is my code:

  <FlatList
     data={products}
     keyExtractor={item => item.id + ''}
     horizontal
     showsHorizontalScrollIndicator={false}
     renderItem={({ item }) => <ProductItem item={item} />}
     contentContainerStyle={{ paddingHorizontal: scale(15) }}
     style={{ marginTop: scale(12) }}
  />

enter image description here



Solution 1:[1]

Remove this line from the activity tag:

android:name="flutterEmbedding"

Which is at Line 24 according to the screenshot you attached.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Sujal Kumar