Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lucassimines opened this issue Mar 18, 2022 · 0 comments
Open

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

lucassimines opened this issue Mar 18, 2022 · 0 comments

Comments

@lucassimines
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant