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
Clicking a doc link that includes a Text Fragment does not scroll nor highlight the relevant text, if that text happens to be inside a "Deep Dive" section.
When attempting to quote a part of the doc that is under a "Deep Dive" section, with a URI text fragment: clicking the link will open the documentation page in the browser, but without scrolling to the relevant block nor highlighting the quoted part of the documentation.
However, there are two cases the highlighting works. Both of those require the page to already be loaded, the fragment is added to the uri of the page:
If the section is not opened beforehand: the browser still does not scrolls to the section nor open it, but the text is correctly highlighted.
If the section is opened beforehand: the browser scrolls to the section and highlights the text as expected
Here's a video capture of the problem:
Enregistrement.2025-03-19.113608.mp4
The text was updated successfully, but these errors were encountered:
jar-presta-onepoint
changed the title
[Bug]: URI Text Fragments do not work with "Deep Dive" text blocs
[Bug]: URI Text Fragments do not work with "Deep Dive" text blocks
Mar 19, 2025
Summary
Clicking a doc link that includes a Text Fragment does not scroll nor highlight the relevant text, if that text happens to be inside a "Deep Dive" section.
Page
https://react.dev/reference/react/useCallback#:~:text=Caching%20a%20function%20with,in%20other%20cases
Details
When attempting to quote a part of the doc that is under a "Deep Dive" section, with a URI text fragment: clicking the link will open the documentation page in the browser, but without scrolling to the relevant block nor highlighting the quoted part of the documentation.
However, there are two cases the highlighting works. Both of those require the page to already be loaded, the fragment is added to the uri of the page:
Here's a video capture of the problem:
Enregistrement.2025-03-19.113608.mp4
The text was updated successfully, but these errors were encountered: