microsoft / microsoft/monaco-editor

[Feature Request] Rounded scroll bar

Open
#4,374 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

editor-scrollbar feature-request
Dominant language
JavaScript
Stars
46.8k
Forks
4.1k
Avg merge
17h 58m
Merged PRs (30d)
1

Description

Context
  • This issue is not a bug report. (please use a different template for reporting a bug)
  • This issue is not a duplicate of an existing issue. (please use the search to find existing issues)
Description

Hi

I included the monaco editor in my website. But the website use modern style rounded scrollbars. Like this:

*::-webkit-scrollbar {
    width: 16px;
}

*::-webkit-scrollbar-track {
    border-radius: 8px;
}

*::-webkit-scrollbar-thumb {
    height: 56px;
    border-radius: 8px;
    border: 4px solid transparent;
    background-clip: content-box;
    background-color: #888;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

It does no look good if the whole website has rounded scrollbars, but the editor has thick square ones. Can you please provide an option for rounded scrollbars?

302550609-4aa7e50e-0352-4fbe-a2bc-9056e6e4a13e

Monaco Editor Playground Link

No response

Monaco Editor Playground Code

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no source files, tests, or playground link. Start by locating Monaco's existing scrollbar configuration and styling entry points, then determine how a rounded-scrollbar option should be exposed and verify it in a browser; done means the editor supports rounded scrollbars without changing the default appearance.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript, typescript
Domain
design, frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.