casesandberg/react-color

Cant type in 4 or 8 letter color names in editable input anymore

Open

#552 aperta il 19 ott 2018

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)JavaScript (946 fork)batch import
bughelp wanted

Metriche repository

Star
 (11.679 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

On the react color demo page I am able to type in "blue" into any of the editable inputs and that is recognized as valid. Since this fix - https://github.com/casesandberg/react-color/commit/669bf040955d2b8ff82b491e1044d28fe80d06b5#diff-012ff5a8f8316a2507102ec918eaf81b I am not able to type in 4 or 8 letter color names. They return as invalid because of the length check. So while "red" or "yellow" works fine, "blue" or "gray" doesnt.

Is there a work around for this?

Guida contributor