scroll ionic content0tio the top code example
Example 1: ion-content --offset-bottom
ion-content {
--offset-top: 0 !important;
}
Example 2: ionic move view to top of page when selected
myMethod()
{
this.content.scrollToTop();
}