Skip to content

Conversation

@ulibath
Copy link
Collaborator

@ulibath ulibath commented Oct 23, 2023

IOS-4493

Removed ignoreSafeAre .bottom from the submission form, so the submission button does not disappear behind the keyboard

…sion button does not disappear behind the keyboard
@ulibath ulibath requested a review from frankschlegel October 23, 2023 12:53
.frame(maxWidth: .infinity, maxHeight: .infinity)
.background(backgroundColor)
.ignoresSafeArea(edges: [.leading, .bottom, .trailing])
.ignoresSafeArea(edges: [.leading, .trailing])
Copy link

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])?

Copy link
Member

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])
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants