-
Notifications
You must be signed in to change notification settings - Fork 0
Keyboard hides part of the form #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Keyboard hides part of the form #5
Conversation
…sion button does not disappear behind the keyboard
| .frame(maxWidth: .infinity, maxHeight: .infinity) | ||
| .background(backgroundColor) | ||
| .ignoresSafeArea(edges: [.leading, .bottom, .trailing]) | ||
| .ignoresSafeArea(edges: [.leading, .trailing]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There might have been a rationale behind this. I think we're more on the safe side if you define it for specific regions. What happens if you do .ignoresSafeArea(.container, edges: [.leading, .bottom, .trailing])?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. Maybe you can tell the inner scrollview to respect the safe area this way. There is also the .keyboard region, maybe that helps.
| .frame(maxWidth: .infinity, maxHeight: .infinity) | ||
| .background(backgroundColor) | ||
| .ignoresSafeArea(edges: [.leading, .bottom, .trailing]) | ||
| .ignoresSafeArea(edges: [.leading, .trailing]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. Maybe you can tell the inner scrollview to respect the safe area this way. There is also the .keyboard region, maybe that helps.
IOS-4493
Removed ignoreSafeAre .bottom from the submission form, so the submission button does not disappear behind the keyboard