kallookoo / wp-color-picker-alpha

Overwrite Automattic Iris for enabled Alpha Channel in wpColorPicker
GNU General Public License v2.0
131 stars 88 forks source link

Trigger input change if used inside wp customizer #20

Closed nicolafranchini closed 6 years ago

nicolafranchini commented 6 years ago

Hi, I noticed that if you update the color the wp customizer doesn't detect the change, so I added this small edit taken from here: https://github.com/ThemeFuse/Unyson/commit/89a4c51f7d04166b4a47ab229df5b6b4256d1579

kallookoo commented 6 years ago

Thank @nicolafranchini
I will try it and when I see that it works perfectly I will implement it !!! At first you should not use the trigger so I'll see why it does not update well.

shivapoudel commented 5 years ago

I am receiving this on twentynineteen core theme as hue mode is enable for default colorpicker. capture

@kallookoo If removed or commented this line all goes well: https://github.com/kallookoo/wp-color-picker-alpha/blob/master/src/wp-color-picker-alpha.js#L459