bgrins / spectrum

The No Hassle JavaScript Colorpicker

Home Page:https://bgrins.github.io/spectrum/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

showButtons doesn't work

PawBud opened this issue · comments

I was trying to solve an issue on zulip chat , I tried something like this

    clickoutFiresChange: true,
    showButtons: false,
    showPalette: true,
    showInput: true,
    palette: stream_color_palette,
};```

The confirm button did not disappear, I tried to search for a solution on the docs and some blogs but was unsuccessful. If there is something wrong with the code, please do correct me.

My aim is to simply use the move event and completely remove the Confirm Button completely. the docs mention . If there are no buttons, the behavior will be to fire the change event (and update the original input) when the picker is closed. Does this mean that it will basically behave like the move event?

I have the same issue. The below doesn't hide the buttons.

showButtons: "false"

We have decided to switch to HTML5 color picker, but I will keep this issue open nevertheless