nunocoracao / blowfish

Personal Website & Blog Theme for Hugo
https://blowfish.page
MIT License
1.36k stars 381 forks source link

TOC doesn't move when scrolling. #1624

Closed Sitaye closed 2 days ago

Sitaye commented 1 month ago

Describe the bug I updated my theme submodule through git submodule update --remote --merge yesterday, and I found that after redeployment, the TOC in articles no longer moved and shifted up when I scrolled down.

To Reproduce Steps to reproduce the behavior:

  1. Update Hugo: download the latest binary file from gohugoio/hugo
  2. Create a new Hugo repository: hugo new site test_bug
  3. Enter the repo and pull the theme: git submodule add -b main https://github.com/nunocoracao/blowfish.git themes/blowfish
  4. Apply the theme as described in the Blowfish documentation
  5. Create a test markdown file: hugo new posts/test.md
  6. Write some content and create multilevel headings
  7. Scroll and see the error

Expected behavior I expected the TOC to remain fixed as before.

Screenshots [My Site] Before Update: image [My Site] After Update: image [Test] Clearly Seen: image

Desktop (please complete the following information):

Hugo & Blowfish versions

mrtolkien commented 1 month ago

Same issue. Tried rolling back hugo and blowfish but I can't seem to find a setup that works.

Example post: https://blog.tolki.dev/posts/2024/07-18-tolkeeb-zero/

ragibson commented 1 month ago

This has actually started working for me again in v2.75.0

Sitaye commented 2 days ago

Yeah...it works. Looks like some bugs have actually been fixed.