Skip to content

Disable TOC sidebar on Interactive Explorer (fixes #127)#128

Merged
rdhyee merged 1 commit intoisamplesorg:mainfrom
rdhyee:fix/disable-toc-on-explorer-pages
Apr 17, 2026
Merged

Disable TOC sidebar on Interactive Explorer (fixes #127)#128
rdhyee merged 1 commit intoisamplesorg:mainfrom
rdhyee:fix/disable-toc-on-explorer-pages

Conversation

@rdhyee
Copy link
Copy Markdown
Contributor

@rdhyee rdhyee commented Apr 17, 2026

Fixes #127. The #quarto-margin-sidebar was overlapping the filter panel and intercepting clicks on the Source filter checkboxes. Setting toc: false removes it. Full diagnosis in the issue.

Follow-up: audit isamples_explorer.qmd and zenodo_isamples_analysis.qmd for the same overlap — both still have toc: true and side-panel layouts.

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>
@rdhyee rdhyee merged commit b1b1551 into isamplesorg:main Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Source filter checkboxes frozen — Quarto TOC sidebar intercepts clicks

1 participant