Skip to content

[FEATURE]: Prevent sidebar disappearing when resizing the window #23896

Closed as not planned

Description

@wickedits

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Currently, when you resize the Desktop App window, the left sidebar disappears and shows this ugly sandwich mode for no apparent reason when there's still plenty space left.
Image

Image

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Apr 22, 2026
  2. github-actions commented on Apr 22, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  3. changed the title [-][FEATURE]: Prevent sidebar dissapearing when resizing the window[/-] [+][FEATURE]: Prevent sidebar disappear when resizing the window[/+] on Apr 22, 2026
  4. changed the title [-][FEATURE]: Prevent sidebar disappear when resizing the window[/-] [+][FEATURE]: Prevent sidebar disappearing when resizing the window[/+] on Apr 22, 2026
  5. removed
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    webRelates to opencode on web / desktop
    on May 3, 2026
  6. d-a-s commented on May 21, 2026

    @d-a-s

    The entire sidebar disappears even at half-1080, and ctl+b toggle sidebar ceases to work when it drops into drawer mode. If you could just make the shortcut open the drawer it would be a huge help.

    Sample patch:

    diff --git a/packages/app/src/pages/layout.tsx b/packages/app/src/pages/layout.tsx
    index 44ab97ed6..e4b01ac79 100644
    --- a/packages/app/src/pages/layout.tsx
    +++ b/packages/app/src/pages/layout.tsx
    @@ -1005,7 +1005,10 @@ export default function Layout(props: ParentProps) {
             title: language.t("command.sidebar.toggle"),
             category: language.t("command.category.view"),
             keybind: "mod+b",
    -        onSelect: () => layout.sidebar.toggle(),
    +        onSelect: () => {
    +          layout.sidebar.toggle()
    +          layout.mobileSidebar.toggle()
    +        },
           },
           {
             id: "project.open",
  7. github-actions commented on Jul 21, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions