Chat message loading issue: if there is a new message when browsing history messages, the new message is loaded directly

Priority/Severity:
Medium

Platform:
Web

Version:
From 3.0.x - 3.2.0

Description:
Not sure if this is normal message loading logic or a bug?

There is a lot of chat on my site.
When a user enters the chat channel and views the history of messages (from the last visit to the latest), if there is a new message at that moment, then the new message will immediately appear in the latest one in the current chat window, resulting in the user not being able to navigate through the intervening history, thinking that many messages are missing!

They didn’t click the ‘scroll to bottom’ button.

Reproducible steps:
When there are unread chat messages that need to be scrolled down to next page to view, and there is a new message at that moment