I have a view under a Form. When I enter a text field the view is stuck on top of the keyboard.
Code in question:
// other stuff
Form {
Section {
TextField("Enter your desired username", text: $page.username)
}
Section {
Button(action: createUser) {
Label("Sign Up", systemImage: "person.crop.circle.badge.plus")
}
}
}
// this is getting stuck on top of keyboard
Group {
Text("By signing up you agree to")
// other stuff
}
What it looks like:
As you can see, the "By signing up you..." view is stuck on top of the keyboard. I suspect it has something to do with Menu.
How do I get rid of it?