Docs Bug: Deep links don't jump to the relevant heading
alexilyaev opened this issue · 0 comments
alexilyaev commented
I'm trying to send a colleague a deep link to one of the heading in the docs, but when the link is opened the page does not jump to that heading.
e.g.
https://date-fns.org/v2.10.0/docs/parse#syntax
Expected to jump to the Syntax
heading, which is towards the bottom of the page.
This is relevant across the whole docs website.
Tested on Chrome/Firefox/Safari on macOS.
I suppose since the site is not server side rendered, the url hash feature won't work in the browser, so it needs to be implemented with JavaScript on render finish.