I am following this ionic5 and github documentation in order to programmatically scroll my page to a point. Following is the code
getContent() {
return document.querySelector('ion-content');
}
scrollPage() {
this.getContent().scrollToPoint(100,100);
}
Method scrollToPoint() is not doing anything. Is there another way of calling this method?