microsoft / microsoft/monaco-editor

[Bug] color palette widget not opening in css

Open
#4,731 0 comments 0 reactions 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

Colour palette widget for css language not opening in shadow root in latest version
Playground example

in previous version widget will closed on mousemove
Playground example

Monaco Editor Playground Code

https://microsoft.github.io/monaco-editor/playground.html?source=v0.41.0#XQAAAAIdBAAAAAAAAABBqQkHQ5NjdYzqEXhNewrSKZslyM_G2I4bTkHQYW1lB1MplPA6z0speGDFvgRIQQx0HI9zdEFZdk3ipJqwzu6RT44vPXZPcpCKxnvgE9TYAtuAi9VQr3EAhbQJCn4JPD8EaFYCtRcYWa8_pnHjN-uDjxrhmN3g8tmx0iWUz1zF7VMROnGNjfHj2TFmcBooqFj0KG-T22ZTOiYiICnUPsKwZZSaPTZDysQkEjo6VufeGBR52643zmE9YFvQINVnki-Tck8yjPu61WCUusKqxAh1IaH-zaob0amO1cgQKhBv_7OqqnjPimz4ZZS3cMChTt3AeykLfRSwm3SW6ZiRzw1EfaBST5HCzcqU59fcCqB4uDWfnA5U4i8UcJcOYjlvzV3gs_QfU40blZvDdgypz5KpupUS13npIp7SW5ZhLTdosUMSEIz-or3gz-73km6LRYihV5shchfddWbdxdoblkUYuHPX4k91DZ_1KbOuINgfviV5d-zJeJuUxIqWFko6pnyLCrKSny4FjASv53Dx56gbcT3WS26ibGAB6_JhrbTpDIlUp6ST5BPa9Lnrd_vw04J5hm7UNDu1mo2rGAUOw92m_etzqwCDEPXu3cOceo9-4n6tFfVxfzBcTBh8oP76fY_hHHUuwOH1qGoMo5GDStjzNKM55GPqZ1hHqErGYE7yKvBc8df-ekwat37q47oAaDI2lT1q7cq0DuGvAGf_QVojgFLcqsna6cXj_k0bQ564b5fm9D5skoUNLQ8-zfyjtdon5JcuolKV_95wgHU

Reproduction Steps

1.open the colour palette widget
2.try to change the colour

Actual (Problematic) Behavior

widget getting closed on mousemove

Expected Behavior

Widget should be closed on selecting colour or onclick outside

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 examples, comparing v0.52.0 with v0.41.0 in a shadow root and following the reproduction steps. Investigate the color palette widget's mouse behavior; done means it remains open while selecting a color and closes only after selecting a color or clicking outside.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.