Topic TOC close button hidden when TOC not sticky
Posted: Mon Jun 09, 2025 2:00 pm
Hi,
Using Oxygen 27.1.
Minor issue, but when setting the webhelp.enable.sticky.topic.toc parameter to "no", the button for hiding/showing the topic TOC is moved out of the viewport on certain screen sizes when the TOC is closed. In that case, there's no way to open it again besides refreshing the page.
The images below might help illustrate the issue: I believe the issue is that since the #wh_topic_toc_content now doesn't have position: fixed (because of the parameter set to "no"), the button is placed relative to #wh_topic_toc. And then it's pushed out of the viewport when closing the TOC. The publication TOC close/hide button is also moved closer to the border due to the same logic, but the button stays in view even if the TOC is closed.
Using Oxygen 27.1.
Minor issue, but when setting the webhelp.enable.sticky.topic.toc parameter to "no", the button for hiding/showing the topic TOC is moved out of the viewport on certain screen sizes when the TOC is closed. In that case, there's no way to open it again besides refreshing the page.
The images below might help illustrate the issue: I believe the issue is that since the #wh_topic_toc_content now doesn't have position: fixed (because of the parameter set to "no"), the button is placed relative to #wh_topic_toc. And then it's pushed out of the viewport when closing the TOC. The publication TOC close/hide button is also moved closer to the border due to the same logic, but the button stays in view even if the TOC is closed.