casesandberg / casesandberg/react-color

Hex8

Open
#875 5 comments 4 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

The ColorPicker parses 8-digits hex correclty, but `onChange` is always received the hex value in 6-digit format. How can I use the value in hex with opactiy?

Contributor guide

Open the contributing guide

Research direction

Start by tracing the ColorPicker's onChange path and how it normalizes 8-digit hex input. Check the existing color value handling and determine how opacity should be preserved in the callback. Done means onChange returns the selected color in an 8-digit hex format when opacity is present, with existing 6-digit behavior unaffected.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.