js/chatClient.js
/**
     * Scroll to the last element in #chatWall
     */
Scroll to the last element in #chatWall
Scroll to the last element in #chatWall
scrollToBottom() {
        setTimeout(() => {
            let element = document.getElementById('chatWall');
            element.lastElementChild.scrollIntoView({behavior: 'smooth', block: 'start', inline: 'nearest'});
        }, 400);
    }
scrollToBottom ( ) { setTimeout ( ( ) => { let element = document . getElementById ( 'chatWall' ) ; element . lastElementChild . scrollIntoView ( { behavior : 'smooth' , block : 'start' , inline : 'nearest' } ) ; } , 400 ) ; }
Scroll to the last element in #chatWall
Scroll to the last element in #chatWall