SyntaxFix
Write A Post
Hire A Developer
Questions
In my case I just added
window.scroll(0,0);
in ngOnInit() and its working fine.
ngOnInit()