-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
Describe the bug
When a TOC item in sidebar is clicked, the view scrolls to the position. If another TOC item is clicked while the page is scrolling, the page starts gets into an infinite loop where it scrolls between the two positions.
Expected behavior
Scrolling animation should not get stuck in an infinite loop.
Screenshots
doxy.webm
To Reproduce
- Open https://doxygen.nl/manual/install.html#install_src_unix
- In left sidebar, click "Installing the binaries on UNIX"
- Then rapidly click "Installing from source on UNIX" during the page scrolling animation
- The page starts to scroll back and forth between the two anchors positions. Only page reload stops the loop.
This can be triggered with also other TOC items, as long as they trigger scrolling on the same page.
Version
Appears on Doxygen 1.9.7 and 1.11.0, and probably other versions too.
Browsers: Firefox/122.0.1/Linux; chromium/111.0.5563.64/Linux; Firefox/Android; occurs on all of them.
albert-github and dirkcaesar