I have an app with only this component:
function TestComp() {
return (
<FlatList
keyExtractor={(item) => String(item)}
data={[0, 1, 2, 3]}
renderItem={({ item }) => (
<View>
<Text>{item}</Text>
</View>
)}
maintainVisibleContentPosition <--- Causes crash
/>
);
}
The program crashes immegiately, throwing the error:
Exception thrown while executing UI block: - [__NSCFBoolean objectForKeyedSubscript:]: unrecognized selector sent to instance 0x11bfcae48.
The crash disappears when I remove the maintainVisibleContentPosition props (but I need it).
I am on react 16.11.0, using expo sdk 38.0.0.
Any idea why this is happening?
