Debouncing the input after 100ms auto-completes the input, particularly from a short-hand hex input.
Example, typing #390 will auto-complete to #339900 after 100ms. Also attempting to correct the auto-completed input will result in another debounce and auto-completion (see video).
Hello,
I understand what you say and although not an original option of the iris, I think it's good to include it and I will also include the debounce time as another option.
Problem :
Debouncing the input after 100ms auto-completes the input, particularly from a short-hand hex input.
Example, typing
#390
will auto-complete to#339900
after 100ms. Also attempting to correct the auto-completed input will result in another debounce and auto-completion (see video).https://github.com/kallookoo/wp-color-picker-alpha/assets/62450648/5c796f2f-b1c7-4ff9-8f57-d07fde993045
Fix :
Would like to add the ability to disable debouncing the input through option setting of
data-alpha-skip-debounce
.