Issue using react-colorful (and understanding of ignoreImageAnalysis) #13120
Unanswered
jugglingcats
asked this question in
Q&A
Replies: 1 comment
-
|
See also #13141 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using the darkreader API with react-colorful and the gradient fills on the picker are wrong in dark mode.
The main issue is that the top-left corner of the saturation picker which should be white is black, so it's impossible to select light colors!
I've managed to use
ignoreInlineStyleto fix an issue with the round pointer, butignoreImageAnalysisseems to have no effect on thebackground-imagewhich useslinear-gradientin the CSS.Perhaps I've misunderstood the use of
ignoreImageAnalysis. Is there any other workaround?Codesandbox link showing the issue:
https://codesandbox.io/s/react-darkreader-react-colorful-forked-zfw7fj
Many thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions