This issue is caused by the ScrollView has the wrong frame even though screen size is big enough for it to expand.
With further investigation, wrong frame caused by keyboard not being dismissed in the previous step which cause SwiftUI thinks the screen height is the actual height minus keyboard height.
Attached screenshots below to see the height differences.
This pull request fixes #8445
Submitter Checklist:
[x] Unit Tests are updated to cover new or changed functionality
[x] User-facing strings use NSLocalizableString()
[x] New or updated UI has been tested across:
[x] Light & dark mode
[x] Different size classes (iPhone, landscape, iPad)
[x] Different dynamic type sizes
Test Plan:
Apparently, only @kdenhartog and I can repro this. I'm adding him as reviewer to see if he can verify.
Summary of Changes
This issue is caused by the
ScrollView
has the wrong frame even though screen size is big enough for it to expand. With further investigation, wrong frame caused by keyboard not being dismissed in the previous step which cause SwiftUI thinks the screen height is the actual height minus keyboard height. Attached screenshots below to see the height differences.This pull request fixes #8445
Submitter Checklist:
NSLocalizableString()
Test Plan:
Apparently, only @kdenhartog and I can repro this. I'm adding him as reviewer to see if he can verify.
Screenshots:
Reviewer Checklist:
QA/(Yes|No)
bug
/enhancement