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

Fix autofill issue on 3 digits hex input #24

Closed daviedR closed 5 years ago

daviedR commented 5 years ago

Hash (#) is required in the exception regex syntax.

The issue is: When a user want to input #235f00, and start typing #235, the color picker value is automatically converted to #223355, which is very annoying.

kallookoo commented 5 years ago

Thanks @daviedR for this PR But I will not use it, since I have noticed that it is a problem of the listener, I will see how I do it so that the value is not changed when it is not necessary.