casesandberg / casesandberg/react-color

Color picker ignoring rgb(255,255,255) color format

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

Description

When inputing an rgb color with the following format **rgb(255,255,255)** on the [online demo website](https://casesandberg.github.io/react-color/) the color picker is working normally, however, when testing this inout on the latest version of react-color "2.19.3" the color get ignored the color input field is reset to its latest HEX value.

The example demo component with the latest version can be found here:
https://codesandbox.io/s/dynamic-text-change-with-color-forked-zcrbe?file=/src/App.js
The test input could be for example:
`rgb(255,0,255)`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.