jothepro / doxygen-awesome-css

Custom CSS theme for doxygen html-documentation with lots of customization parameters.
https://jothepro.github.io/doxygen-awesome-css/
MIT License
956 stars 108 forks source link

Smooth scrolling #107

Closed tim-gromeyer closed 1 year ago

tim-gromeyer commented 1 year ago

Currently if I click something on the TOC it jumps to the section. Yesterday I saw a video on YouTube about how to implement smooth scrolling. IMO smooth scrolling should be the default behavior. Here's the link to the Video: https://youtube.com/shorts/hk3RgcBx5Fc?feature=share

jothepro commented 1 year ago

Yes, that would be nice to have! The problem is that doxygen itself seems to do some nasty jQuery stuff to add smooth scrolling when clicking on items in the navigation tree. I think I've tried adding smooth scrolling before but it was really glitchy due to Javascript messing with the scrolling at the same time. :/ If you can make it work somehow pls let me know! :)

tim-gromeyer commented 1 year ago

I created a issue, see doxygen/doxygen#9855

tim-gromeyer commented 1 year ago

They fixed it. Should I close the issue or leave it open til the release of doxygen v1.9.7?

jothepro commented 1 year ago

Awesome! I'll close this issue then. Looking forward to Doxygen 1.9.7! 👍