react-native-open-source-board icon indicating copy to clipboard operation
react-native-open-source-board copied to clipboard

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

Open michalchudziak opened this issue 6 years ago • 1 comments

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

michalchudziak avatar Apr 15 '19 14:04 michalchudziak

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

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

ghost avatar May 07 '19 17:05 ghost