I’m back for an hour… Or less…
Okay, the way that I understand, when you type in a message it updates the screen to show you all
of the other messages. If you just sit there, it updates the messages every 70ms. It only give you
70ms to scroll back. That is not long enough. While scrolling up it hits the 70ms and scrolls you down.
Well, where do these messages come from? A database? So, perhaps you need to check the last
message displayed and if there are others, then refresh the screen. If no new messages, then just
sit there. then, the user can scroll. Not sure why you need to refresh the chatbox every 70ms…
Perhaps I do not understand the reason for that code…