Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
Merge pull request #339 from clausjoergensen/clajun/fix-end-editing
Browse files Browse the repository at this point in the history
Call `view.endEditing(true)` before setting isUserInteractionEnabled to false
  • Loading branch information
Daniel-Echegaray authored Nov 11, 2021
2 parents cea8b2b + cb04659 commit 9b7e0e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/UI/IdentityUIViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ class IdentityUIViewController: UIViewController {
}

func startLoading() {
// This ensures the keyboard is dismissed before the view interaction is disabled
// which is necessary for the keyboard appearance notifications to be correctly delivered.
view.endEditing(true)
view.isUserInteractionEnabled = false
}

Expand Down

0 comments on commit 9b7e0e7

Please sign in to comment.