If I try to open this DatePicker, the view is jumping while the transition, before coming to the fixed position. There is also a long error message in the console ..."Unable to simultaneously satisfy constraints."...
If I only display the .date component there isn't this problem. Is it a internal problem? If yes, how can I archive the same behavior because I want the date+time picker without having the detail popup screen, for faster selection.
Thanks for any help :)
https://i.stack.imgur.com/en4Im.jpg (At the second button Tap there is the buggy transition)
struct ContentView: View {
    @State var toggle = false
    @State var date = Date(timeIntervalSinceNow: 0)
    var body: some View {
        ZStack{
            Button("sdflkj"){
                toggle.toggle()
            }
            VStack{
                Spacer()
                if toggle{
                    DatePicker("lsadjf", selection: $date, displayedComponents: [.date,.hourAndMinute])
                        .labelsHidden()
                        .datePickerStyle(GraphicalDatePickerStyle())
                }
            }
        }
   
    }
}
 
    