Describe the bug
Alpha-enabled color-picker doesn't always run onChangeComplete function.
To reproduce
Steps to reproduce the behavior:
- Go to the storybook for the Alpha-enabled Color Picker or insert a ColorPicker component inside React with alpha enabled.
- Click on the
Change color format button until you land on any other form than the Hexadecimal one.
- If you change any of the values inside the form, the
onChangeComplete function never runs.
Expected behavior:
onChangeComplete should be run when changing anything inside the form.
Editor version:
- WordPress version: 5.5.1
- Gutenberg Plugin
- Version 9.2.2 - Latest from the master branch on this repository
Desktop:
- OS: Ubuntu
- Browser Chrome
- Version 86.0.4240.75