spectrum-web-components icon indicating copy to clipboard operation
spectrum-web-components copied to clipboard

[Feat]: Support for Brightness and Alpha channels in sp-color-slider

Open prabhjodh opened this issue 2 years ago • 2 comments

Code of conduct

  • [X] I agree to follow this project's code of conduct.

Impacted component(s)

sp-color-slider

Description of the requested feature

Need to use the brightness and alpha sliders in Color Picker for my project.

Currently, we're using React Spectrum's ColorSlider and we're encountering an issue where when the slider is wrapped in an overlay-trigger and sp-popover to display the contents inside. If we press and hold on the color slider and drag it outside the popover, the popover gets closed and it doesn't happen if we use sp-color-picker.

Mockups or screenshots

Screenshot 2022-12-06 at 12 43 21 AM

Implementation notes or ideas

Can follow React Spectrum's component ColorSlider's implementation.

prabhjodh avatar Dec 05 '22 19:12 prabhjodh

@prabhjodh Please don't share internal links or information in this open-source repo.

nickschaap avatar Dec 05 '22 19:12 nickschaap

Research on the feasibility on this issue.

Rajdeepc avatar Apr 25 '24 14:04 Rajdeepc