I am developing a feature similar to a comment screen. As we know, comments have different lengths in which often require bigger or lesser space to contain itself inside a list item.
But apparently, inside my flatlist I am out of ideas to keep the size of the item scalable/dynamic, except for giving them all a hard-coded height, please help! I am wondering if there is any custom package that does this, or I just have to do some tricks to my list.
Little Demo of My Goal:
P.S: I am using a flatlist because I have a long list of item, in which I can't hard code a list.
You don't need to define height for comment parent component view.
Live Demo - https://snack.expo.dev/@emmbyiringiro/eea97f