Skip to content

ColorPicker enableAlpha=true breakes after alpha set to 100% #36314

@franmastromarino

Description

@franmastromarino

Description

Hello
We find this issue in the new colorpicker component

  1. Create ColorPicker with enableAlpha=true
  2. Set alpha to 100%
  3. Change color

Step-by-step reproduction instructions

  1. Create ColorPicker with enableAlpha=true
  2. Set alpha to 100%
  3. Change color

Screenshots, screen recording, code snippet

https://snipboard.io/qThJyr.jpg
https://gyazo.com/8ae83f32f30a6c1c70eb4b59090587ca

Environment info

WordPress version: 5.8.2
Gutenberg version: 11.8.1
Are all plugins except Gutenberg deactivated? Yes
Are you using a default theme (e.g. Twenty Twenty-One)? No

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Component SystemWordPress component system[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions