ToolJet / ToolJet/ToolJet

Nested Color Picker Cannot Be Closed by Clicking Outside in Popups

Open
#13,918 14 comments 0 reactions 1 assignee View on GitHub

@NishidhJain is already working on this.

Since Aug 11, 2026.

bug
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?
  1. Open a component that has nested popups (e.g., box shadow selector)
  2. Within the parent popup, click to open a color picker
  3. Try to close the color picker by clicking outside of it but within the parent popup area
  4. Observe that the color picker remains open and cannot be dismissed
  5. 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

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.