Nested Color Picker Cannot Be Closed by Clicking Outside in Popups
@NishidhJain is already working on this.
Since Aug 11, 2026.
- Dominant language
- JavaScript
- Stars
- 40.9k
- Forks
- 5.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 202
Description
Version Information
All
Environment
All
What is the expected behaviour?
When a color picker is nested inside another popup (e.g., within a box shadow selector), the color picker should close when clicking outside of it but still within the parent popup area. This is standard UI behavior for nested modal/popup components.
What is the current behaviour?
Color pickers that are nested inside other popups (such as within a box shadow selector) cannot be closed by clicking outside. Users cannot dismiss the nested color picker by clicking on the parent popup area, leaving them with no intuitive way to close the color picker after making their selection.
How to reproduce the issue?
- Open a component that has nested popups (e.g., box shadow selector)
- Within the parent popup, click to open a color picker
- Try to close the color picker by clicking outside of it but within the parent popup area
- Observe that the color picker remains open and cannot be dismissed
- Notice there's no way to close the nested color picker without potentially closing the entire parent popup
Screenshots or Screencast
https://github.com/user-attachments/assets/e5c9e292-9dda-4d33-a8b2-bcdf6fff5064
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.
Assessment
This issue has not been assessed yet.