Skip to content

Components: Support the EyeDropper API in ColorPicker #34487

@ciampo

Description

@ciampo

Why

Adding an Eye Dropper tool to the ColorPicker would enhance its UX and features set

What

We should embed an Eye Dropper tool following the EyeDropper APIs:

Note: this API are not stable yet and, at the time of writing, is only supported in Chrome >= 95

A/C

  • Get the updated designs including the EyeDropper button
  • Show the EyeDropper button only when supported is detected
  • Implement the EyeDropper functionality (assign the color picked with the Eye Dropper tool to the currently opened ColorPicker)
  • Edge case: make sure that the Eye Dropper tool is closed (canceled) if for any reason the ColorPicker is dimissed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs DesignNeeds design efforts.[Feature] Component SystemWordPress component system[Package] Components/packages/components[Priority] LowUsed to indicate that the issue at hand isn't a top priority to address and can be handled later[Type] TaskIssues or PRs that have been broken down into an individual action to take

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions