Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hex color input doesn't work without a # #87

Open
DaveZMB opened this issue Jan 27, 2022 · 0 comments
Open

Hex color input doesn't work without a # #87

DaveZMB opened this issue Jan 27, 2022 · 0 comments

Comments

@DaveZMB
Copy link

DaveZMB commented Jan 27, 2022

Describe the bug
If you enter a hex color but are missing the hash (#) the color picker won't select your color.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://codepen.io/DaveZ123/full/YzEPmxP
  2. Click on the text box
  3. Enter "ffffff"
  4. Click the check mark
  5. See that the color picker does not update

Expected behavior
The color picker should handle hex values that don't start with "#"

Demo
https://codepen.io/DaveZ123/full/YzEPmxP

Desktop (please complete the following information):

  • All devices
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant