adobe/leonardo

Can't past.

garrett85 opened this issue · 2 comments

Description

I can't copy/past in the hex field of this color picker. Although http://leonardocolor.io/ is referenced here I'm using the color picker in my own web application, the inability to past is slowing down progress with what we're trying to accomplish with this application.

Steps to reproduce

  1. Go to http://leonardocolor.io/
  2. Click on one of the colored squares
  3. Click on the up/down arrows option at the bottom right until you arrive at the hex value.
  4. With a hex value already copied to the clipboard try to past into the hex value of the color picker.

Expected behavior

Nothing happens

Screenshots

Image is attached.

Environment

OS: Windows 11l
Server: Linux

Additional context

colorPicker

@garrett85 Leonardo's UI is using the native browser color inputs (<input type="color")). These may not support pasting hex values, as seen with Chrome's latest updates to their native color picker.

This issue would need to be marked as an enhancement, as it would require building a color picker component to replace the native inputs.

+1 to this. It's interesting that native color pickers don't allow for pasting a HEX value. I've been frustrated with this UX several times. Whether it's considered a bug or enhancement, this is worthy of a fix.