Closed ricardopacheco closed 2 years ago
<Modalize ref={ref} withReactModal={true} HeaderComponent={renderHeader} FooterComponent={renderFooter} reactModalProps={{ animationType: 'slide', statusBarTranslucent: true }} flatListProps={{ data: comments, renderItem, showsVerticalScrollIndicator: false, onEndReached: fetchBackEndComments, onEndReachedThreshold: 0.2 }} modalStyle={{ flex: 1, padding: 10 }} onClosed={() => { Emitter.emit('CLOSE_TEXT_MODAL'); reset(); }} />
This is fixed using View inside same component!
const renderFooter = () => ( <View style={{ height: 35 }}> <AddNewTextForm /> </View> )