Closed outaTiME closed 4 years ago
btw if i force height like this:
<Collapsible
duration={Settings.ANIMATION_DURATION}
collapsed={parent.enabled !== true}
>
<View style={{ height: 1000, borderColor: 'red', borderWidth: 1 }}>
<Collapsible
duration={Settings.ANIMATION_DURATION}
collapsed={child_1.enabled !== true}
/>
<Collapsible
duration={Settings.ANIMATION_DURATION}
collapsed={child_2.enabled !== true}
/>
<Collapsible
duration={Settings.ANIMATION_DURATION}
collapsed={child_3.enabled !== true}
/>
</View>
</Collapsible>
work as expected
the only workaround I found at the moment was removing the collapsible from parent, very frustrating 😢
{parent.enabled === true && (
<View style={{ flex: 1, borderColor: 'red', borderWidth: 1 }}>
<Collapsible
duration={Settings.ANIMATION_DURATION}
collapsed={child_1.enabled !== true}
/>
<Collapsible
duration={Settings.ANIMATION_DURATION}
collapsed={child_2.enabled !== true}
/>
<Collapsible
duration={Settings.ANIMATION_DURATION}
collapsed={child_3.enabled !== true}
/>
</View>
)}
Is this scheduled to be fixed anytime soon? or should i bounce away ?
Hi guys, im getting some wired issue using nested Collapsible elements.
im using in the following way (reduced version):
childs works as expected until collapse and expand the parent, then any action on children hides the parent content,
here the video:
any advice? something related with: https://github.com/oblador/react-native-collapsible/issues/229, https://github.com/oblador/react-native-collapsible/issues/269 ?