swords-and-ravens
swords-and-ravens copied to clipboard
Find an alternative solution for ScrollToBottom
The current solution is quite fragile. The ChatComponent.tsx is reused at several locations. I wonder that it works because I wanted to add the Reload button on top of the chat but this breaks everything.
So we would need a solution which works with the dynamic height of the container.
https://www.npmjs.com/package/react-scrollable-feed seems to work without fixed height