spiegel-keyman/ios/keyman/Keyman/Keyman/Classes
Joshua Horton 7eb88bed00 fix(ios): prevent re-display of keyboard when re-entering app to its menus
Fixes: #13629
Fixes: #11953
Fixes: #6387

This change makes sure that upon app re-entry, the keyboard only displays when the main view will be the active view.  If the app had been in a menu or in the picker, the keyboard will no longer show up on top of it.  Additionally, if the app is re-entered to directly install a KMP from a file, the keyboard will not overlay the package installer.

The core of the problem is that upon app re-entry, the WebView reloads the keyboard, which in turns triggers the `keyboardLoaded` internal notification.  That notification did not check if the main view was the currently-visible view or not, and would always display the keyboard.
2025-04-01 10:10:38 +07:00
..
DropDownList chore(ios): moves app classes with Classes group 2021-05-27 09:38:04 +07:00
Extensions chore(ios): part 3 - (mostly) alphabetizes app source files 2021-05-27 10:00:05 +07:00
GetStartedViewController fix(ios): Get Started view title i18n 2021-08-02 09:00:35 +07:00
InfoViewController remove XCGLogger dependency from Keyman Engine 2024-01-19 10:47:54 +07:00
KMWebBrowser chore(ios): remove code conditional upon iOS 13 to iOS 15 2025-02-13 11:57:50 +07:00
LogoBackgroundView chore(ios): stop lint complaints 2022-03-18 10:57:10 +11:00
MainViewController fix(ios): prevent re-display of keyboard when re-entering app to its menus 2025-04-01 10:10:38 +07:00
SetUpViewController remove XCGLogger dependency from Keyman Engine 2024-01-19 10:47:54 +07:00