### Description Selecting a custom color might prevent the color palette from closing. ### Step-by-step reproduction instructions 1. Place a paragraph block. 2. Select a custom color for the text. 3. Click on the background color. 4. The custom text color will not close. ### Screenshots, screen recording, code snippet https://github.com/user-attachments/assets/db289273-4edb-4696-9ec6-281bb2e4e3f7 ### Environment info - WordPress 6.9 - Gutenberg trunk branch ### Please confirm that you have searched existing issues in the repo. - [x] Yes ### Please confirm that you have tested with all plugins deactivated except Gutenberg. - [x] Yes ### Please confirm which theme type you used for testing. - [x] Block - [ ] Classic - [ ] Hybrid (e.g. classic with theme.json) - [ ] Not sure
Description
Selecting a custom color might prevent the color palette from closing.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
color.mp4
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.