Skip to content

🐞 Sidebar animation is not smooth #1041

@jacob-carlborg

Description

@jacob-carlborg

Description

The animation for hiding and showing the sidebars is not smooth. It applies to both the left and the right sidebar (inspector). It seems to be related to the size of the currently opened document. If no document is open, it's smooth. If a large document is opened the animation is not smooth. The larger document, the less smooth the animation is. It's enough with a document of 240 lines to notice a difference. If the document is over 1000 lines it's clearly visible. See attached video which shows the problem when a document with slight more than 1000 lines is open:

codeedit_sidebar.mov

To Reproduce

  1. Open a project
  2. Open a large document (1000 lines or more)
  3. Click the show/hide button for the inspector pane/right sidebar

Expected behavior

I expect the animation to be as smooth as in Xcode. See attached video for how it looks like in Xcode:

xcode_sidebar.mov

Version information

CodeEdit: 0.0.1-alpha (25)
macOS: 13.0.1 (22A400)

Additional context

No response

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