JavaScript Sclol to Element
document.getElementById("divId").scrollIntoView();
doilooklikeiselldrugs
document.getElementById("divId").scrollIntoView();
<button (click)="scroll(target)"></button>
<div #target>Your target</div>
scroll(el: HTMLElement) {
el.scrollIntoView();
}