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.
What was done
Refactor code that loads view in
- Make sure the view and layout are set up correctly.
- Avoid using
- When finished initial setup, call
layoutIfNeededso the view is laid out immediately.
Dismiss the keyboard on
ProfilePhoneControllerbefore 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)|