mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +00:00
Fixes the keyboard being shown when opening an Element call link. (#2048)
This commit is contained in:
@@ -66,5 +66,10 @@ class WindowManager {
|
||||
alternateWindow.isHidden = false
|
||||
overlayWindow.isHidden = true
|
||||
mainWindow.isHidden = true
|
||||
|
||||
// We don't know what route the app will use when returning back
|
||||
// to the main window, so end any editing operation now to avoid
|
||||
// e.g. the keyboard being displayed on top of a call sheet.
|
||||
mainWindow.endEditing(true)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user