casesandberg / casesandberg/react-color
ChromePicker's HSL Input Values Change on Focus
- Dominant language
- JavaScript
- Stars
- 12.3k
- Forks
- 920
- PR merge metrics
- No merged PRs in 30d
Description
Here's the issue we're seeing, it also reproduces on https://casesandberg.github.io/react-color/
1. Open picker
2. Switch to HSL
3. Click in H (don’t enter anything)
4. Click in S
Result: H switches to showing the HEX value of the current color.
Note: only occurs on the first load, cycle through the input types and it won't happen.
I did a search in the issues list and wasn't able to find this, is it a known issue?
Thanks,
Reeves
Contributor guide
Research direction
Reproduce the behavior in the linked react-color demo using the listed steps, then trace the ChromePicker HSL input handling and its focus transitions. Done means focusing H and then S on the first load no longer changes H to the current color's HEX value, while the other input types continue to work.
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
- 42/100