Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAnchor within URL doesn't make the browser scrolling to the anchored section at all. #17981
Comments
|
@jelbourn If no one is working on it, I can give it a try. |
|
Seems like this issue has been fixed in master branch. I checked out master from https://github.com/angular/material.angular.io and by running on local machine I can't reproduce it but I was able to reproduce it in branch 8.x. |
|
Hi! @thariqnu-ifm & @mikyaj I can witness this issue but with a bit different behavior, once I open this link https://material.angular.io/components/datepicker/overview#choosing-a-date-implementation-and-date-format-settings in new tab/widnow, first it scrolls to that particular section and once browser finishes loading it scrolls to the top. |
|
I see this happening with all anchored links, when navigating to them from offsite. Will look into |


Trying to open https://material.angular.io/components/datepicker/overview#choosing-a-date-implementation-and-date-format-settings using Chrome browser.
The browser should scroll to the "Choosing a date implementation and date format settings" section.
But currently, it doesn't scroll at all. The browser stays on the top-most part of the page.
P.s. this URL is obtained through copying the link provided in the left side of the section's title.