react-native-collapsible
react-native-collapsible copied to clipboard
Accordion inside a Collapsible is buggy
When I put a Accordion
inside a Collapsible
like this
<Collapsible collapsed={this.state.collapsed} align="center">
<View>
<Accordion
activeSections={activeSections}
sections={CONTENT}
touchableComponent={TouchableOpacity}
expandMultiple={multipleSelect}
renderHeader={this.renderHeader}
renderContent={this.renderContent}
duration={400}
onChange={this.setSections}
/>
</View>
</Collapsible>
then the behavior when clicking on accordion's item is not normal. Some kind of jumping happens when accordion's content is being opened, that is not normally desired.
Let me know if you couldn't reproduce it.