How to use the new ColorPicker in SwiftUI?

I want to test the new ColorPicker in swift UI.

Code Block
struct ContentView: View {
    @State private var newColor = Color.white
    var body: some View {
            ColorPicker("choose something", selection: $newColor)
    }
}

First I can see the color ring. When I am trying to choose something, the new modal view with quite complicated picker is appearing, I have many ways to choose something and this is ok. The problem is, I get stuck with the modal view and cannot make it disappear and continue with the chosen color. How to make it?
Answered by OOPer in 617013022
Apple's engineer says this is a known issue.

How can you dismiss the new ColorPicker?
Accepted Answer
Apple's engineer says this is a known issue.

How can you dismiss the new ColorPicker?
How to use the new ColorPicker in SwiftUI?
 
 
Q