In this tutorial, we'll create an animated collapsable card using react-native-reanimated. We'll be starting from a provided template, which ca...
For further actions, you may consider blocking this person and/or reporting abuse
Hi,
first of all, thank you for the great tutorial!
The only problem I run into is when the "expanded" value is set to true on mount, nothing is displayed, I think it's because the
collapsableStyleis not recomputed.How could this be resolved?
Hey,
try to add height to the dependencies like
I believe on the first render
heightis 0 and it's not triggered to recalculate on height value updated.Thanks man! I had a similar solution, but what did the trick for me was your suggestion of using { overflow: 'hidden' }, to ensure we would get the full height.
Welcome!
I dont know what I am doing wrong but this is not working for me.
if you'll share your code on github or expo snack, I can take a look.