microsoft / microsoft/monaco-editor

Possible to only show scrollbar upon scroll?

Open
#1,005 2 comments 4 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

Currently there are 3 modes for scrollbar: auto, hidden, visible. However, none of the modes satisfies this scenario: there are more than 1 page of content in the editor, and I'd like to hide the scrollbar when there is no user activity, and show it when user starts to scroll.

I think an extra mode like visibleOnScroll for such a scenario could improve UX.

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 describes the existing scrollbar modes—auto, hidden, and visible—and proposes a visibleOnScroll mode for the editor. Start by locating the editor's scrollbar configuration and related behavior; done means the scrollbar stays hidden without activity and appears when the user scrolls.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.