[Android] Entry control: Closing onscreen keyboard manually resizes modal page height
Description
On a modal page, i enter some text in an entry control. When i close the onscreen keyboard manually, the modal page height gets resized and reveals parts of the underneath page.
This behaviour does only occur, if you actually enter some value in the entry control.
| A | B |
|---|---|
![]() |
![]() |
Steps to Reproduce
- Create a new Maui app (net6.0).
- Add a ContentPage (Page1).
- Add 2 Entry controls to Page1.
- Use the "OnCounterClicked" event handler, to open Page1 as modal page (await Navigation.PushModalAsync(new Page1());)
- Run the app.
- Open Page1.
- Enter something in the Entry control.
- Close the onscreen keyboard manually.
Link to public reproduction project repository
https://github.com/SailDev/Net-Maui-bug-reproduction-example-001.git
Version with bug
7.0 Release Candidate 2
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 11
Did you find any workaround?
No response
Relevant log output
No response
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
Having the same issue. On iOS, the keyboard overlaps the content. On Android the content gets scrolled out fine, so that the current entry is not overlapped by the keyboard. However there, after dismissing the content stays scrolled out, like described in the issues above.
So both, iOS and Android have issues while using a modal and a keyboard shows up.
@AndreasReitberger Did you get any temporary solution to this problem? Or should I wait for the next releases?
@Kremed Sadly no... ☹️ I'm also waiting for fix for this issue.
Last version that worked well
- Android 10 ✅
- Samsung Note 9
@jamesmontemagno any suggestions?
Can you try the workaround from this issue? https://github.com/dotnet/maui/issues/11274
See if that resolves this for you?
I was able to reproduce this issue and then when I applied that workaround it no longer reproduced
I can confirm this worked for me. Thanks !
Tested and it solves the problem. Many THANKS!

