Fix scrollable list in modals and add pagination
Currently if you click "Likes" or "Reposts" on a popular status, the modal dialog looks broken. It expands beyond the screen, and there is a large amount of whitespace instead of showing all results. I'm guessing this is because ScrollableList / virtuoso is not playing well with the Modal component. I found that setting the height and turning off useWindowScroll
made it much better.
I also added pagination to both modals. I tried my best to follow how it is done elsewhere: it uses the Link header and onLoadMore
like other components.
Before:
After:
Edited by Zach Oakes