-
-
Notifications
You must be signed in to change notification settings - Fork 10k
Preserve sidebar height when toggling sidebar #4415
Copy link
Copy link
Closed
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its executiondifficulty: intermediateIssues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.Issues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.domain: themeRelated to the default theme componentsRelated to the default theme componentsstatus: accepting prThis issue has been accepted, and we are looking for community contributors to implement thisThis issue has been accepted, and we are looking for community contributors to implement this
Description
Metadata
Metadata
Assignees
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its executiondifficulty: intermediateIssues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.Issues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.domain: themeRelated to the default theme componentsRelated to the default theme componentsstatus: accepting prThis issue has been accepted, and we are looking for community contributors to implement thisThis issue has been accepted, and we are looking for community contributors to implement this
Type
Fields
No fields configured for issues without a type.
🐛 Bug Report
Refs: #4311
Currently the left sidebar do not preserve the height on some of short pages (with long sidebars?), when toggling between collapsed and expanded states.
This is causing the visual "jump" of footer each time user interacts with sidebar mode.
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
EDIT @slorber: note to self: the content is smaller than the sidebar. Don't use the Markdown features page: as of 2022 it is now taller. A better repro page is https://docusaurus.io/tests/docs
Expected behavior
Footer is not "jumping", sidebar height is preserved.
Actual Behavior
Footer is "jumping", sidebar height is not preserved.
Preview
Your Environment
N/A
Reproducible Demo