TOC in Sidebar not sticky and moving up when scrolling down #12663
-
| DescriptionI am having issues with the TOC on the left side of the document - the sidebar section for a site I am building to show research documents. title: "Satellite Internet Explained. How It Works & Why It Matters"
author:
  - name: Ashwin Prasad
    qmd: /pages/team/ashwin_prasad.qmd
    image: /pages/team/images/ashwin_prasad.png
    description: Research Analyst with the high-tech geopolitics programme
date: "2025-04-25"
description: "This discussion document delivers a critical analysis of the Indian space reforms and considers pathways for developing space capabilities from a national interest perspective."
categories: 
  - "HTG"
  - "Space"
  - "Space Policy"
format:
  html:
    toc: true
    toc-depth: 2
    toc-location: left
    anchor-sections: false
    reference-location: document
    citation-location: documentI have some custom components - title-block.html I wanted to remove the title-block-header outside the main contents page. Now the issue is when I scroll on the article page, the TOC moves along with it and it becomes difficult for me to navigate through the sections :( Please let me know if you need any other files | 
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
| _quarto.yml  | 
Beta Was this translation helpful? Give feedback.
-
| Please share a small and simple reproducible example (remove everything unrelated to the issue and not relevant). In this case, please share a Git repository. | 
Beta Was this translation helpful? Give feedback.
Hey @mcanouil, thank you so much.
I was trying to re-create this with limited files. It seems like there was an
overflow-xparameter set in the#quarto-documentclass. I'm not sure when and why I did that. I removed it, and the issue is fixed now. I will be closing the issue.