Use scrollToBottom() function for display content from page buttom.
Follow this code:
import { Component, ViewChild } from '@angular/core'; import { IonicPage, NavController, NavParams, Content } from 'ionic-angular'; export class GroupChatPage { @ViewChild(Content) chatlist : Content constructor(public navCtrl: NavController, public navParams: NavParams) { // } scrollToBottom() { this.chatlist.scrollToBottom(); } }
Question and answer is powered by AnsPress.io