Hello,
Through code testing, I found that in MAUI, if the outer layer of your TestView is StackLayout, VerticalStackLayout and other layouts that are not inherited from ScrollView, this problem will occur. While in Xamarin.Froms, no matter what the outer layout is, the program layout can be adjusted normally when the soft keyboard pops up.
For this problem, you can add the following code to the MainActivity
to solve this problem:
protected override void OnCreate(Bundle savedInstanceState)
{
base.OnCreate(savedInstanceState);
Window.SetSoftInputMode(Android.Views.SoftInput.AdjustPan);
}
Best Regards,
Alec Liu.
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.