callstack / react-native-open-source-board

OSS board with triaged React Native issues.
125 stars 6 forks source link

[react-native-core] FlatList item onPress not work the first time after refreshed #4

Open michalchudziak opened 5 years ago

michalchudziak commented 5 years ago

https://github.com/facebook/react-native/issues/20011

ghost commented 5 years ago

you can use setTimeout() I think this is related to js bridge

onPress={() => setTimeout(() => this.clickItem(item), 200)}