compose-color-picker icon indicating copy to clipboard operation
compose-color-picker copied to clipboard

Ability to change color programmatically

Open sproctor opened this issue 3 years ago • 1 comments

It would be nice to be able to control the state from outside of the widget. In my use case, I have a text entry that changes the current color.

sproctor avatar Feb 06 '22 10:02 sproctor

Voted this. Current implementation violates state hoisting principle, which underlies the Jetpack Compose. Composables should be stateless

keyflare avatar May 29 '22 17:05 keyflare

Could we also get this for ClassicColorPicker? This would let me make a text box that the user can input their own color codes into and see it update on the color picker. Looking at the PR, it looks like this only applied to HarmonyColorPicker. My current implementation is using HarmonyColorPicker with harmonyMode set to NONE. This works, but it's not as visually appealing as ClassicColorPicker imo

Stephen-Hamilton-C avatar Jan 23 '23 21:01 Stephen-Hamilton-C