DEV Community

wqhui
wqhui

Posted on

How to make a view expand downwards in an inverted FlatList?

I'm currently facing a challenge with implementing an expandable section in an inverted FlatList for a chat application. When expanding a card within the list, it pushes the content up instead of down. This issue is occurring due to the inverted nature of the FlatList. I've prepared a sample code to illustrate the problem (https://www.reddit.com/r/reactnative/comments/18ybkr3/how_to_make_a_view_expand_downwards_in_an/). Any advice or insights from those who have tackled similar issues would be greatly appreciated. Thanks!

I fork this for reddit, but I don’t see a solution. https://www.reddit.com/r/reactnative/comments/18ybkr3/how_to_make_a_view_expand_downwards_in_an/

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more