vue-color-kit
vue-color-kit copied to clipboard
@changeColor not firing when typing "0" on Hex field input
Reproduction
<script lang="ts" setup>
import { ColorPicker } from 'vue-color-kit';
import 'vue-color-kit/dist/vue-color-kit.css';
const changeColor = (color: { hex: string }) => {
console.log(color);
};
</script>
<template>
<div>
<ColorPicker :colors-default="colors" theme="light" :color="model" @changeColor="changeColor" />
</div>
</template>
Expected behavior
When typing 0 it was expected to the colose shows the color, but nothing happens.
Actual behavior
Nothing happens when typing 0
Additional information
