Second and further tabs of tabbed content are missed in PDF
- Dominant language
- C#
- Stars
- 4.4k
- Forks
- 890
- Avg merge
- 2h 9m
- Merged PRs (30d)
- 11
Description
**DocFX Version Used**:
2.39.2.0 (reproducable at 2.40.2.0 as well)
**Template used**:
`pdf.default`
**Steps to Reproduce**:
1. Create markdown page with [tabbed content](https://dotnet.github.io/docfx/spec/docfx_flavored_markdown.html#tabbed-content)
2. Render it to PDF
**Expected Behavior**:
All tabs are visible in PDF as subsections, just as with renderer which has no tabbed content in markdown support (e.g. Github, Gitlab or Microsoft TFS wiki engines).
**Actual Behavior**:
- Only first tab is visible in PDF, and other are "hidden" by HTML attribute (I've noticed it by inspecting HTML produced with `keepRawFiles`).
- All titles of tabs are printed above the only visible tab content section.
**Workaround**:
I used following CSS rule to enforce rendering of tab content, but it is still misspositioned (all `
```css
section[role="tabpanel"] {
display: block !important;
}
```
Also attaching [minimal reproducible example (ZIP)](https://github.com/dotnet/docfx/files/2607250/docfx-pdf-notabs.zip).
***
The main question is: can I (or possibly, docfx defaults) somehow disable rendering tabs feature in PDF version of a document? It seems to me as the most adequate solution of the problem.
Contributor guide
Assessment
This issue has not been assessed yet.