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

Color picker does no longer accept shortened RGB values #6109

Open
christianlupus opened this issue Sep 21, 2024 · 0 comments
Open

Color picker does no longer accept shortened RGB values #6109

christianlupus opened this issue Sep 21, 2024 · 0 comments

Comments

@christianlupus
Copy link
Contributor

The color picker component NcColorPicker does no longer accept colors in the shortened format (like #ABC for #AABBCC) as colors for the color palette. This due to the implementation in hexToRGB that assumes a format with 6 digits.

This should either be fixed or the documentation should clearly state that only full hex RGB values are allowed.

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