This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] SetWindowSoftInputModeAdjust not working when mainpage is flyoutpage or SetTitleBarVisibility is set to Never #15021
Labels
Projects
Description
We are trying to set the SetWindowSoftInputModeAdjust to
resize
to properly use the soft keyboard without overlap in android. However (after a lot of testing) we found out that there are 2 things that prevent this from working:global::Xamarin.Forms.Forms.SetTitleBarVisibility(this, Xamarin.Forms.AndroidTitleBarVisibility.Never);
in theoncreate
of the mainactivity, it stops workingFlyOutPage
, it stops workingSteps to Reproduce
Expected Behavior
The input box stay in view when focused
Actual Behavior
The input box is now shown anymore because it is hidden behind the soft keyboard. Once you comment out the
SetTitleBarVisibility
call in the MainActivity.cs and set the MainPage tonew MainPage()
in App.xaml.cs and run it again it works properly.Basic Information
Screenshots
Reproduction Link
App1.zip
Workaround
Make the 2 changes as explained in the steps to reproduce, but this changes the functionality of the app
The text was updated successfully, but these errors were encountered: