Hi There! Having some trouble.
Is there a way to change the contentInset of a ScrollComponent without it refreshing?
I'm trying to expand a post in a feed and the problem right now is that I either have a bunch of whitespace at the bottom, or it will get cut off. Vid attached.
When I use a conditional to change the contentInset, it make it jump back to the top of the screen.
I have this problem very often. This method I wrote can help. Whenever you trigger that expanding animation, you also call the updateContentInterval() method, which will try to update the content height of that scroll component as it animates. It may not be the most efficient way, but it's been working for me so far.