microsoft / microsoft/monaco-editor

[Bug] Position sticky effect does not get honored for scrollbar backgrounds

Open
#4,631 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Reproducible in vscode.dev or in VS Code Desktop?
  • Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
Monaco Editor Playground Link

http://localhost:63342/neo/apps/portal/index.html#/learn/Events

Monaco Editor Playground Code
https://github.com/neomjs/neo/blob/dev/src/component/wrapper/MonacoEditor.mjs
https://github.com/neomjs/neo/blob/dev/src/main/addon/MonacoEditor.mjs
Reproduction Steps

just scroll inside the editor

Actual (Problematic) Behavior

Screenshot 2024-08-01 at 23 42 29

Expected Behavior

either showing the code for the correct line inside the background of the scrollbar OR just a white BG inside the scrollbar.

Additional Context

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

Start with the linked Monaco Editor Playground URL and reproduce the scrollbar behavior by scrolling inside the editor. Inspect src/component/wrapper/MonacoEditor.mjs and src/main/addon/MonacoEditor.mjs from the linked Neo project to establish whether the issue is in the integration or Monaco Editor. Done means the scrollbar either shows the correct line background or has a white background.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.