Automatic Scroll to Bottom Chat Interface with Mutation Observers in Ionic

By Josh Morony

It is common in chat interfaces to have the latest messages displayed at the bottom of the screen, and for the screen to automatically scroll to the latest message when a new one is added. This is a feature I added to the chat application that is built in the last module of Elite Ionic, but there is a bit of a trick to it.

It’s easy enough to scroll to the bottom of a list in Ionic, in fact, all you need to do is use this method

Read the full article

Share on Google Plus

About www.

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment


Post a Comment