microsoft / microsoft/monaco-editor

[Feature Request]

Open
#4,373 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request suggest
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

I'm using monaco-editor 0.45.0 and I want to change the placement of the suggestion details widget to be always below the suggestion list.

how it behaves today: details opened to the right

desired behavior: (achieved by resizing the page width to be thinner) details opened below

I use a low version (0.18) of monaco-editor and there I could manipulate with css to get what I want. Now (not sure since which version) the details widget placement is set by fixed position with calculated left and top - this can't be workaround by css as I tried.

Can you help me achieve the desired functionality?

Monaco Editor Playground Link

https://microsoft.github.io/monaco-editor/playground.html?source=v0.45.0#example-creating-the-editor-editor-basic-options

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

Start with the linked Monaco Editor Playground example and inspect how the suggestion details widget chooses its position relative to the suggestion list. The work is done when the widget can be kept below the list and the playground demonstrates that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript
Domain
frontend
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.