Codeinwp/neve

Color Picker Modal remains open even after switching Color Palettes

mghenciu opened this issue · 0 comments

Description:

If you try to paste a color value, adjust Transparency and then switch the Color Palette (without closing the color picket modal) -> the modal will remain open, until you close it manually. See the attached video.

How to reproduce:

  1. Open a fresh Gutenberg demo
  2. Go to Customizer -> Color Palettes
  3. Add #0e0d0f with 0.28 transparency as a Extra Color 1
  4. Without closing the modal, switch the color palette (click on another Palette)

Expected behaviour:

The color picker modal should close itself.

Current behaviour:

Apparently it does this only when using alpha options and when pasting color values.

Reference:

https://www.loom.com/share/9398e2229d474f928b4147d1457e5c1d
image

Technical info

  • WordPress 5.7
  • Theme Version: 2.10.2