Closed towerofnix closed 6 years ago
I think we really need to rethink a lot of the code surrounding the messages list - there's a ton of bugs, and we need to think about scrollforward too.
I think we really need to rethink a lot of the code
To be fair, you think this about a lot of things.
The clear solution is to add 250ms of artificial delay to all API calls.
thumbs up from @towerofnix
Solved in the preact client.
I think the problem has to do with the scroll's Y-position not effectively being set, maybe because a scroll is already in progress... I noticed that it only happens on really, really fast connections, i.e. to localhost, and not on meta.decent.chat. This lines up with my thoughts because, by the time the older messages have been fetched, the scroll animation is finished.