oblador / react-native-collapsible

Animated collapsible component for React Native, good for accordions, toggles etc
MIT License
2.42k stars 455 forks source link

Accordion is not working while passing another animated view in it #464

Open RajVasiyar opened 1 year ago

RajVasiyar commented 1 year ago

I am using like below, where I added some animated views inside the _renderHeader and _renderContent.

React Native version: 0.70.6 Lib version: 1.6.0

<Accordion                     sections={SECTIONS}                     activeSections={activeSections}                     renderHeader={_renderHeader}                     renderContent={_renderContent}                     onChange={_updateSections}                     expandMultiple={true}                     underlayColor='white'                 />

Expected output: It should work as shown in the git example

Actual output: Stoped collapsing