Skip to content

🐞 Drag-collapsing Inspector sidebar in full-screen breaks layout #1224

@Moshyfawn

Description

@Moshyfawn

Description

Dragging the Inspectors sidebar to collapse causes the main layout to break: an empty space appears in place of the collapsed sidebar. Trying to open the sidebar again causes a further layout shift, inducing the sidebar anchor placement.

To Reproduce

  1. Open CodeEdit
  2. Click on "Hide or show the Inspectors" sidebar toggle icon in the top right corner
  3. Drag the sidebar by the left edge (to the right) to collapse
  4. See the main file content area now has an empty black area on the right

Expected Behavior

Dragging the Inspectors sidebar to collapse - collapses the sidebar without breaking the main layout

Version Information

CodeEdit: 0.0.3-alpha (32)
macOS: 13.3.1
Xcode: 14.3 (14E222b)

Additional Context

No response

Screenshots

codeedit-inspectors-sidebar-drag-collapse-issue-screencast.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    🏁 Complete

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions