Fixes the keyboard being shown when opening an Element call link. (#2048)

This commit is contained in:
Doug
2023-11-09 08:30:45 +00:00
committed by GitHub
parent abe2080ee2
commit 6ee3a7f99f
2 changed files with 6 additions and 0 deletions
@@ -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)
}
}