Project 'elixxir/client-ios' was moved to 'mobile/ios/client-ios'. Please update any links and bookmarks that may still have the old path.
This MR improves the transition when navigating from a screen while presenting keyboard.
This should fix the issue: [Registration] UI transition bug when having the keyboard enabled.
OnboardingCodeController
and ProfileCodeController
:
SnapKit
.setNeedsLayout
and layoutIfNeeded
so the view is laid out immediately.OnboardingPhoneController
and ProfilePhoneController
before navigating to next screen.Dismissing the keyboard is not mandatory, but I think it helps to achieve a visually satisfying transition.
Before | After (fix layout) | After (fix layout + dismiss keyboard) |
---|---|---|
before | after-1 | after-2 |