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

Change color when clicking in palette of color picker #758

Closed
bjarnef opened this issue May 18, 2022 · 0 comments
Closed

Change color when clicking in palette of color picker #758

bjarnef opened this issue May 18, 2022 · 0 comments
Assignees
Labels
bug Things that aren't working right in the library.

Comments

@bjarnef
Copy link

bjarnef commented May 18, 2022

What issue are you having?

The Color Picker works great and has some great features.
However I noticed selecting a color in the color palette/spectrum only work on touch/drag not on click.
https://shoelace.style/components/color-picker

Describe the solution you'd like

It would be great to move the handle and select and color with mouse event, when clicking inside the palette/spectrum.
Currently the color only change on selection via touch event or when starting dragging the handle, but not on click event anywhere in the color palette via mouse click event.

image

@bjarnef bjarnef added the feature Feature requests. label May 18, 2022
@claviska claviska added bug Things that aren't working right in the library. and removed feature Feature requests. labels May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Things that aren't working right in the library.
Projects
None yet
Development

No branches or pull requests

2 participants