Skip to content

Codemirror scrolls to the top when switching between dark and light mode #973

Open
@loiswells97

Description

@loiswells97

When the theme changes, codemirror re-renders and scrolls to the top. One approach could be to capture the scroll position before codemirror re-renders and then programmatically scroll back there once the theme has changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions