I'm searching for about 4 days on how to scroll the scroll bar of my chat when you receive new messages and scroll up to see the previous messages.
I made a script using setInterval , but when I try to roll div
up, it returns down, getting pretty much "stuck" in the footer.
What can it be? I await answers, thank you.