I'm having issues with TextField and any text entry in Swift. Clicking into a text entry field results in an "Unable to simultaneously satisfy constraints" warning with a huge number of unsatisfied constraints. This happened even on the simplest of content:
struct ContentView: View {
@State private var textEntry : String = "Hello World"
var body: some View {
return VStack {
Text(self.textEntry)
.padding()
.id("plain text 1")
TextField("Enter New Text Here", text: self.$textEntry)
.id("text Entry 1")
}
.id("Hello World 1")
}
}
Has anyone else had this issue?
Thanks!
AMJ
struct ContentView: View {
@State private var textEntry : String = "Hello World"
var body: some View {
return VStack {
Text(self.textEntry)
.padding()
.id("plain text 1")
TextField("Enter New Text Here", text: self.$textEntry)
.id("text Entry 1")
}
.id("Hello World 1")
}
}
Has anyone else had this issue?
Thanks!
AMJ