vue-color-kit icon indicating copy to clipboard operation
vue-color-kit copied to clipboard

@changeColor not firing when typing "0" on Hex field input

Open lucassimines opened this issue 3 years ago • 0 comments

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

Screen Shot 2022-03-18 at 14 37 47

lucassimines avatar Mar 18 '22 17:03 lucassimines