react-native-collapsible icon indicating copy to clipboard operation
react-native-collapsible copied to clipboard

Accordion inside a Collapsible is buggy

Open badihi opened this issue 5 years ago • 0 comments

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.

badihi avatar Aug 23 '19 16:08 badihi