Specifying tabs to be rendered in the react embed has no effect
Open
Nobody has claimed this yet.
bug
triage
- Dominant language
- TypeScript
- Stars
- 29k
- Forks
- 4k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 71
Description
Bug description
When using the gitbook react embed and setting the Tabs configuration ( "assistant" and/or "docs")
both are rendered regardless if only one is specified.
How to reproduce
1.Set Tabs to either "assistant" or "docs"
2. Both are rendered in the iframe
Additional context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by locating the React embed entry point and its Tabs configuration, then reproduce the iframe behavior with only "assistant" or only "docs" selected; done means the iframe renders only the requested tab.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100