pIvan / ngx-color-picker

Pure Angular color picker library.
MIT License
94 stars 17 forks source link

Problem with the [hideOnClickOutside]="true" #82

Closed aleksander351 closed 4 months ago

aleksander351 commented 4 months ago

When you drag the mouse to the edge, (i.e. wanting to select #FFF or #000) and release the mouse by accident outside the color palette, it closes the dialogue. Not sure if this is a bug or a feature or there is a property that prevents that.

See the mouse cursor position when releasing the mouse button. image

pIvan commented 4 months ago

Hi @aleksander351,

That component is just an example wrapper demonstrating how to set up a color picker as a floating element. It should be easy to register other events on this wrapper component, but this functionality is not part of the library itself.