Closed aleksander351 closed 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.
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.