You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if I click the "Go live" link (/#go-live) seen in the top nav in the screenshot below, the scroll jumps past the "Go live" heading which contains the anchor id:
Desired
Preferably, we'd be able to see the heading after the scroll:
Note that the above is simply an example (I'm not totally sold we'll do this type of linking from top nav on the docs top page).
However, this phenomenon is present in more legitimate use cases for named anchors as well, like the autogenerated right-hand table-of-contents in narrative content.
Possible source of issue
My guess is that we need to account for the height taken up by the top-nav.
The text was updated successfully, but these errors were encountered:
Chrome, Firefox, Edge are all fine. I'll look into it thanks !
icaraps
changed the title
Links to named anchors jump past the element containing the anchor id
[Safari] Links to named anchors jump past the element containing the anchor id
Sep 24, 2020
Current
Currently, if I click the "Go live" link (
/#go-live
) seen in the top nav in the screenshot below, the scroll jumps past the "Go live" heading which contains the anchor id:Desired
Preferably, we'd be able to see the heading after the scroll:
Note that the above is simply an example (I'm not totally sold we'll do this type of linking from top nav on the docs top page).
However, this phenomenon is present in more legitimate use cases for named anchors as well, like the autogenerated right-hand table-of-contents in narrative content.
Possible source of issue
My guess is that we need to account for the height taken up by the top-nav.
The text was updated successfully, but these errors were encountered: