react-infinite-scroller
react-infinite-scroller copied to clipboard
How to "re-calc" the height of the body?
I have a question, in my use case, I render as children of the component embedded tweets using this library: https://github.com/capaj/react-tweet-embed.
I am having a problem, the request to get the news items is called multiple times and way before the 80%, I am pretty sure that is because the embedded tweets are created after the first rendering happened, so the height when the full view is rendered is way different than the initial one.
Is there a way to avoid this problem? Maybe forcing a re-calc on the component?