I have angular app with a blog posts page ('/blog'), where it shows list of blog posts and each has button to redirect the user to that specific blog.
When I tried to click that button ('/blog/'), it doesn't scroll to top. Tried your code, but doesn't work on mine.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Is this still working?
I have angular app with a blog posts page ('/blog'), where it shows list of blog posts and each has button to redirect the user to that specific blog.
When I tried to click that button ('/blog/'), it doesn't scroll to top. Tried your code, but doesn't work on mine.