naoufal / react-native-accordion

An Accordion Component for React Native
https://www.npmjs.com/package/react-native-accordion
437 stars 101 forks source link

Content of Accordion not always unfold in iOS #58

Open AlexanderBaer opened 6 years ago

AlexanderBaer commented 6 years ago

whatsapp video 2018-05-03 at 16 04 54

When i click on my header the first time, it shows my complete content, but when i get back and open it again, it shows nearly nothing of my content.

AlexanderBaer commented 6 years ago
const aboutContent = (
            <View style={styles.accordionContentContainer}>
                <Text style={styles.creatorsTitle}>
                    Developed by
                </Text>
                <Text>{impressum['developers']}</Text>
            </View>
        );
const about = (
            <Accordion
                header={aboutHeader}
                content={aboutContent}
            />
        );

Styling:

accordionContentContainer: {
        marginHorizontal    : '5%',
        marginBottom        : '2%'
},