ionic text scrolling code example
Example 1: ion-content --offset-bottom
ion-content {
--offset-top: 0 !important;
}
Example 2: ionic scroll to item programmatically
@ViewChild(IonContent) content: IonContent;
ScrollToBottom(){
this.content.scrollToBottom(1500);
}
ScrollToTop(){
this.content.scrollToTop(1500);
}
ScrollToPoint(X,Y){
this.content.scrollToPoint(X,Y,1500);
}