Hello,
You have to detect the Soft Keyboard that pops up on each platform, you can try to invoke platform code or create a custom control using handlers.
For iOS and MacCatalyst, you can use NSNotificationCenter
to register a listener for DidHideNotification and DidShowNotification, please check the Remarks section to see the usage.
For Android, you can try to get InputMethodManager.IsActive Property, :
var IMS = MainActivity.instance.GetSystemService(Context.InputMethodService) as InputMethodManager;// add public static MainActivity instance; in MainActivity
For Windows, you can refer to Keyboard events - Windows apps | Microsoft Learn.
Note: Some docs are in Xamarin , you could try to implement a MAUI version.
In addition, you could report the feature request at https://github.com/dotnet/maui
Best Regards,
Wenyan Zhang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.