ntohq / buefy-next

Lightweight UI components for Vue.js (Vue3) based on Bulma
https://v3.buefy.org
MIT License
124 stars 10 forks source link

[Colorpicker] `close-on-click` prop seems to have no effect #283

Open kikuomax opened 2 months ago

kikuomax commented 2 months ago

Overview of the problem

Buefy version: [0.1.4] Vuejs version: [3.3.10] OS/Browser: macOS/NA

Description

It does not seem that the close-on-click prop has any effect.

Steps to reproduce

<template>
    <section>
        <b-field label="Select a color">
            <b-colorpicker model-value="#7957d5" close-on-click />
        </b-field>
    </section>
</template>

Expected behavior

To be honest, I do not know the true intention of the close-on-click prop, however, I think the colorpicker would close after clicking a color on it.

Actual behavior

The colorpicker stays opened after clicking on it while close-on-click is true.

kikuomax commented 2 months ago

closeOnClick is not even defined as a prop of Colorpicker.