Redocly / Redocly/redoc

SubMenu too long then scroll body will let menu disappear

Open
#2,357 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug
if submenu too long, i expand the menu then the sub-menu will fill the side bar, when scroll document body , menu disappear

Expected behavior
usually, i think the sub-menu will shrink, then next first level menu show

Screenshots
Before
image

After
image

Additional context
after that, i scroll the side menu panel, menu will show , maybe calculate the scroll height have some bugs

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

Reproduce the issue with a submenu that fills the sidebar, then scroll the document body and the side menu panel. Start by tracing the sidebar submenu's scroll-height and visibility behavior; done means the submenu shrinks or reveals the first-level menu instead of disappearing when the body is scrolled.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.