Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folding icon in the sidebar no longer working #2541

Open
stradig opened this issue Jan 29, 2025 · 2 comments
Open

Folding icon in the sidebar no longer working #2541

stradig opened this issue Jan 29, 2025 · 2 comments
Labels
C-bug Category: A bug, incorrect or unintended behavior

Comments

@stradig
Copy link

stradig commented Jan 29, 2025

Problem

The folding icon in the sidebar stopped working in 0.4.41. You can still click on the text, but clicking on the icon no longer works. This is the case both for opening and closing a section.

Image

Steps

  1. Enabled folding in book.toml
    [output.html]
    fold.enable = true
    fold.level = 0
  2. Build the book
  3. Click on the folding icon, nothing will happen. In 0.4.40 it still worked, in 0.4.41 it stopped working. I tested up to version 0.4.44

Possible Solution(s)

No response

Notes

No response

Version

mdbook v0.4.43
@stradig stradig added the C-bug Category: A bug, incorrect or unintended behavior label Jan 29, 2025
@shenef
Copy link

shenef commented Jan 29, 2025

Did you update your index.hbs file as mentioned in the 0.4.41 changelog?
https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-0441

@stradig
Copy link
Author

stradig commented Jan 30, 2025

Thanks for the fast answer! We do not have a custom index.hbs. But I also tried putting the one from 0.4.43 in . That did not change anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: A bug, incorrect or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants