-
Notifications
You must be signed in to change notification settings - Fork 118
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
Lags when scrolling on a page with TOC and a large number of headings #147
Comments
The update() function in |
@iamAyushChamoli Yes, I can review and test changes. It will be very cool! |
I'd really appreciate if you open a pull request with a suggestion on how to fix this, @iamAyushChamoli. :) |
@iamAyushChamoli upload before/after comparison. It became much smoother! Congratulations on your first contribution! One moment. This line is missing the keyword "this". It should be like: 2024-07-05.02-32-44_compressed.mp4 |
@jothepro I have updated the code and included "this" keyword as you suggested, please review the code and let me know if it works well now! |
reduces the number of TOC refreshes by throttling calls to the DoxygenAwesomeInteractiveToc.update() method. Fixes #147 Co-authored-by: jothepro <github@jothe.pro>
Hi! We use Doxygen Awesome on the userver documentation site. Unfortunately, on pages with a large number of headings, there is a slowdown when scrolling down the page. Similar behavior can be seen on this page.
The slowdown is due to the updating of classes at the TOC headers, I tried to show this in the video. It would be cool to fix this loss of performance.
output.compress-video-online.com.mp4
The text was updated successfully, but these errors were encountered: