When a heading is used inside of a tab, it will always appear in the outline, but if the tab it is inside of is not selected, clicking it in the outline does nothing.
To Reproduce
I will attach a tarball with a minimal redocly site that reproduces this behavior, along with a screen capture demonstrating it. I used npm run dev to run the site shown in the capture.
In the tarball, run npm install then npm run dev.
Expected behavior
Either:
- Headings inside of unselected tabs do not appear in the outliner.
- Selecting a heading inside of an unselected tab first selects the tab, then navigates to the heading.
Personally, I would prefer option 2, but I think either could be argued to be correct.
Logs
N/A
npm run dev reports Previewing with @redocly/redoc-revel@0.130.4.
OpenAPI description
N/A
Redocly version(s)
$ npm ls @redocly/cli @redocly/realm @redocly/redoc-revel --depth=0
redocly-tabs-index-repro@1.0.0 /Users/cad/f/tmp/2026-05-07_redocly-tabs-index-repro
├── @redocly/cli@2.30.4
├── @redocly/realm@0.130.4
└── @redocly/redoc-revel@0.130.4
Node.js version(s)
OS, environment
macOS Sequoia 15.7.4 on Apple Silicon.
redocly-repro.tgz
When a heading is used inside of a tab, it will always appear in the outline, but if the tab it is inside of is not selected, clicking it in the outline does nothing.
To Reproduce
I will attach a tarball with a minimal redocly site that reproduces this behavior, along with a screen capture demonstrating it. I used
npm run devto run the site shown in the capture.In the tarball, run
npm installthennpm run dev.Expected behavior
Either:
Personally, I would prefer option 2, but I think either could be argued to be correct.
Logs
N/A
npm run devreportsPreviewing with @redocly/redoc-revel@0.130.4.OpenAPI description
N/A
Redocly version(s)
Node.js version(s)
OS, environment
macOS Sequoia 15.7.4 on Apple Silicon.
redocly-repro.tgz