İonic ion-content scroll to bottom automatically


I am doing chat program on ionic 2, but when new chat comes, scroll is stay same line.

I would like to scroll to bottom automatically when new message come



can anybody help me?


Well youse use something like that
@ViewChild(Content) content: Content;
And in your function when new message come. you can use


Thanks , this worked like a charm … !