scroll to bottom of overflow div code example
Example: how to make auto scroll to the end in css
let objDiv = document.getElementById("divExample");
objDiv.scrollTop = objDiv.scrollHeight;
let objDiv = document.getElementById("divExample");
objDiv.scrollTop = objDiv.scrollHeight;