Redocly / Redocly/redoc

Add an option to disable the auto expand/collapse behaviour of the sidebar

Open
#1,719 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
25.9k
Forks
2.4k
Avg merge
13h 10m
Merged PRs (30d)
4

Description

Describe the problem to be solved
Right now if I opened a section in the sidebar, the other sections will be automatically collapsed, it will be great if we have an option to disable this auto collapse behaviour.

With all the sections opened, it will be clear for the user to see the whole structure of the api. Right now this feature seems to be missing.

Describe the solution you'd like
Have an option (in redoc-cli and <redoc> option object) to disable this auto collapse behaviour.

Additional context
Found this issue #280, potentially a duplicate of the 2nd request of the issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the sidebar behavior and how options are passed through redoc-cli and the option object. Review issue #280 for related context; done means users can disable automatic collapsing while preserving the current behavior by default.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
cli, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.