Skip to content

Scrollbar gets outline when focused #6412

@ghost

Description

This issue can be noted on chromium browsers(Chrome, Edge, etc., but not Firefox). When there is overflow, and the scroll bar appears(vertical or horizontal), holding/clicking on it causes there to be a sudden outline box. An easy way to see this is to go to one of the demo pages and just click on the scrollbar. If you're focused on an element outside of the editing box, and then press the scrollbar, it remains outlined. If you are focused on an element in the editing box and press on the scrollbar, it appears for a split second.

.CodeMirror-vscrollbar, .CodeMirror-hscrollbar {
    outline: none;
}

Adding the code above in an external stylesheet removed the problem, although there might be a better solution, or there is a deeper issue causing this.

Metadata

Metadata

Assignees

No one assigned

    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