Angular 2 Scroll to bottom (Chat style)

Discussão em 'Angular' iniciado por Max Alexander, Novembro 11, 2024.

  1. I have a set of single cell components within an ng-for loop.

    I have everything in place but I cannot seem to figure out the proper

    Currently I have

    setTimeout(() => {
    scrollToBottom();
    });


    But this doesn't work all the time as images asynchronously push the viewport down.

    Whats the appropriate way to scroll to the bottom of a chat window in Angular 2?

    Continue reading...

Compartilhe esta Página