Closed Jawnnypoo closed 2 years ago
I created a sample using an AlertDialog here: https://github.com/godaddy/compose-color-picker/pull/22
It actually works just fine in this repo, so I am going to have to go and look into why it isn't work in my app.
This is kind of embarrassing. I was telling my dialog to dismiss in the onColorChanged
callback, which was being called as soon as I tapped on the color wheel. Sorry for the trouble.
Hey folks,
I have tried using this within both
Dialog
andAlertDialog
, and it looks like as soon as the screen is touched in any way, the dialog gets dismissed. I have tried settingdismissOnClickOutside = false
in theDialogProperties
but this did not solve the issue either. Do you guys have a sample of how to get this to work within the context of a dialog?