Closed TheoL closed 3 years ago
+1 for this one, the alpha slider doesn't update when we change the colorpicker via Javascript
ok, I'll see what I can do, in the new version
Hi, Try the branch 3.0.0 and comment please.
Checked and changes perfectly.
Using wpColorPicker( 'color', 'value' )
and iris( 'color', 'value' )
.
Hello,
I am using something like:
$('#my-color-picker').iris('color', 'rgba(100,100,100,0.25)');
to change the color of the color-picker when some event happens.
The color is set correctly, but the alpha slider stays at 100%. (the alpha slider jumps to the correct position if I click anywhere inside the color picker, e.g. change the color)