Skip to content

[Android] Entry control: Closing onscreen keyboard manually resizes modal page height #10978

@SailDev

Description

@SailDev

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
Screenshot_1666960004 Screenshot_1666960018

Steps to Reproduce

  1. Create a new Maui app (net6.0).
  2. Add a ContentPage (Page1).
  3. Add 2 Entry controls to Page1.
  4. Use the "OnCounterClicked" event handler, to open Page1 as modal page (await Navigation.PushModalAsync(new Page1());)
  5. Run the app.
  6. Open Page1.
  7. Enter something in the Entry control.
  8. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions