oblador / react-native-collapsible

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

not show if collapsed initial value false #482

Open Nader-CS opened 1 month ago

Nader-CS commented 1 month ago

i have issue , that is if collpase value in initial render false , then i can't show anyhing , i should change to true then to false by click to show the content

react native version : 0.75.4 react-native-collapsible : 1.6.2

i change this line

-      height: hasKnownHeight ? height : 0,
+      height: hasKnownHeight ? height : 100,

but i think it's not the better way

C0rren commented 4 weeks ago

https://github.com/oblador/react-native-collapsible/issues/479

Probably the same issue as the above

netojose commented 3 weeks ago

I'm having the same issue here :(

Nader-CS commented 2 weeks ago

479

Probably the same issue as the above

works , thanks