Disable TOC sidebar on Interactive Explorer (fixes #127)#128
Merged
rdhyee merged 1 commit intoisamplesorg:mainfrom Apr 17, 2026
Merged
Disable TOC sidebar on Interactive Explorer (fixes #127)#128rdhyee merged 1 commit intoisamplesorg:mainfrom
rdhyee merged 1 commit intoisamplesorg:mainfrom
Conversation
Quarto's auto-generated #quarto-margin-sidebar (the right-hand "On this page" TOC column) was overlapping .side-panel and silently intercepting clicks on the Source filter checkboxes. The checkbox would appear visible and cursor over it would appear clickable, but mouse clicks hit the margin-sidebar first (higher in the stacking context) and were swallowed — no toggle, no globe re-query. Diagnosed live via Chrome DevTools: - document.elementsFromPoint at SESAR checkbox center returned #quarto-margin-sidebar as the topmost element - Installing capture-phase listeners on #sourceFilter and issuing a real mouse click logged zero events - Setting pointer-events: none on the margin sidebar restored expected behavior This page is an app, not an article — a TOC column adds nothing and is actively harmful. Set toc: false in frontmatter to stop Quarto from rendering the margin sidebar entirely. Verified post-render: #quarto-margin-sidebar and #TOC both absent from docs/tutorials/progressive_globe.html, still present on other pages. Follow-up (separate PR): audit isamples_explorer.qmd and zenodo_isamples_analysis.qmd for the same overlap — both are tutorials with side panels and both currently have toc: true. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #127. The
#quarto-margin-sidebarwas overlapping the filter panel and intercepting clicks on the Source filter checkboxes. Settingtoc: falseremoves it. Full diagnosis in the issue.Follow-up: audit
isamples_explorer.qmdandzenodo_isamples_analysis.qmdfor the same overlap — both still havetoc: trueand side-panel layouts.