Skip to content

Conversation

@imfing
Copy link
Owner

@imfing imfing commented Aug 15, 2025

  • Added functionality to handle direct navigation to pages with hash links, ensuring the correct table of contents link is highlighted.
  • Introduced a temporary disable feature for the intersection observer during hash navigation to prevent unwanted updates.
  • Adjusted the root margin of the observer for improved sensitivity in detecting visible headings.

…ivity

- Added functionality to handle direct navigation to pages with hash links, ensuring the correct table of contents link is highlighted.
- Introduced a temporary disable feature for the intersection observer during hash navigation to prevent unwanted updates.
- Adjusted the root margin of the observer for improved sensitivity in detecting visible headings.
@imfing imfing linked an issue Aug 15, 2025 that may be closed by this pull request
@netlify
Copy link

netlify bot commented Aug 15, 2025

Deploy Preview for hugo-hextra ready!

Name Link
🔨 Latest commit 7d11a69
🔍 Latest deploy log https://app.netlify.com/projects/hugo-hextra/deploys/689e975f1accc100080d589f
😎 Deploy Preview https://deploy-preview-754--hugo-hextra.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

@ldez ldez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's working as expected, and it's smoother.

I quickly reviewed the code, and I didn't find any obvious problems.

LGTM

Thank you for the quick fix.

@imfing
Copy link
Owner Author

imfing commented Aug 15, 2025

It's working as expected, and it's smoother.

I quickly reviewed the code, and I didn't find any obvious problems.

LGTM

thanks for the review! I’ll prepare a patch release either today or tomorrow

let me know if you find any other issue

@imfing imfing merged commit 91cc6b5 into main Aug 15, 2025
4 checks passed
@imfing imfing deleted the 751-toc-highlighting branch August 15, 2025 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

toc highlighting doesn't work on click

3 participants