microsoft / microsoft/monaco-editor
[Bug] color palette widget not opening in css
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?
- Not 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
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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