fix(ios): allow asynchronous layout update

This commit is contained in:
sgschantz 2024-12-05 15:09:30 +07:00
parent 7c0657ae9f
commit 2d3cde718e
2 changed files with 1 additions and 3 deletions

View file

@ -123,7 +123,7 @@ private class CustomInputView: UIInputView, UIInputViewAudioFeedback {
landscapeConstraint?.isActive = true
}
self.layoutIfNeeded()
self.setNeedsLayout()
}
private func buildKeyboardHeightConstraints(bannerHeight: CGFloat) {

View file

@ -930,8 +930,6 @@ public class Manager: NSObject, UIGestureRecognizerDelegate {
let message = "Manager keyboardHeightChanged)"
os_log("%{public}s", log:KeymanEngineLogger.settings, type: .default, message)
self.inputViewController.keyboardHeightChanged()
//currentResponder?.dismissKeyboard()
//self.inputViewController.resetKeyboardState()
}
var vibrationSupportLevel: VibrationSupport {