renderScrollComponent
prop of FlatList
imported from react-native-gesture-handler
does nothing and needs to be removed
#2990
Labels
Description
Hi,
I found that
FlatList
from RNGH acceptsrenderScrollComponent
but it gets overwritten by its internal implementationreact-native-gesture-handler/src/components/GestureComponents.tsx
Lines 119 to 127 in f0dfef2
Since it doesn't warn or notify user that this prop isn't supported, I think it's better to omit the prop just like what reanimated did to
CellRendererComponent
ofAnimated.FlatList
.Found this issue from kirillzyusko/react-native-keyboard-controller#505
Steps to reproduce
n/a
Snack or a link to a repository
n/a
Gesture Handler version
2.16.1
React Native version
0.74.2
Platforms
iOS
JavaScript runtime
Hermes
Workflow
Expo managed workflow
Architecture
Paper (Old Architecture)
Build type
Debug mode
Device
iOS simulator
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: