diff --git a/ios/engine/KMEI/KeymanEngine/Classes/TextField.swift b/ios/engine/KMEI/KeymanEngine/Classes/TextField.swift index 42f8ea82978..3aa871f2674 100644 --- a/ios/engine/KMEI/KeymanEngine/Classes/TextField.swift +++ b/ios/engine/KMEI/KeymanEngine/Classes/TextField.swift @@ -146,10 +146,6 @@ public class TextField: UITextField, KeymanResponder { font = UIFont.systemFont(ofSize: fontSize) } - if isFirstResponder { - resignFirstResponder() - becomeFirstResponder() - } log.debug("TextField \(self.hashValue) setFont: \(font?.familyName ?? "nil")") } @@ -179,7 +175,7 @@ extension KeymanResponder where Self: TextField { resignFirstResponder() Manager.shared.inputViewController.endEditing(true) } - + public func summonKeyboard() { becomeFirstResponder() } diff --git a/ios/engine/KMEI/KeymanEngine/Classes/TextView.swift b/ios/engine/KMEI/KeymanEngine/Classes/TextView.swift index 8f0ab0c6396..43b735bc612 100644 --- a/ios/engine/KMEI/KeymanEngine/Classes/TextView.swift +++ b/ios/engine/KMEI/KeymanEngine/Classes/TextView.swift @@ -133,11 +133,6 @@ public class TextView: UITextView, KeymanResponder { font = UIFont.systemFont(ofSize: fontSize) } - if isFirstResponder { - resignFirstResponder() - becomeFirstResponder() - } - log.debug("TextView: \(self.hashValue) setFont: \(font?.familyName ?? "nil")") }