dotnet / dotnet/maui

net 10 rc2 keyboard overlap android

Open
#32,041 13 comments 3 reactions 3 assignees Claimed by @jsuarezruiz View on GitHub
area-controls-entry i/regression platform/android regressed-in-10-rc2 s/triaged s/verified t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 10h
Merged PRs (30d)
297

Description

### Description

if you have an entry at the bottom of the screen , the keyboards ovelarps it and you cannot see anything, as you can imagine we have applications where a user is asked to input lots of data and all the entries are overlapped!

### Steps to Reproduce

1. Create a page in maui .net 10 rc2
2. Place an entry at the bottom of the screen
3. Start typing.. and the keyboard will overlap the entry
4. Add below to MainActivity
5. I have attached both repo - net 9 and 10
```
protected override void OnCreate(Bundle? savedInstanceState)
{
base.OnCreate(savedInstanceState);
Window?.SetSoftInputMode(SoftInput.AdjustResize | SoftInput.StateUnspecified);

}
```

6. Works in .net 9 but not in .net 10See below net 9 on the left and .net 10 RC2 on the right!

![Image](https://github.com/user-attachments/assets/f6a3e898-01d5-4fbb-b857-3517c95b038f)

[MauiAppNe10Overlap.zip](https://github.com/user-attachments/files/22966161/MauiAppNe10Overlap.zip)
[MauiNet9Overlap.zip](https://github.com/user-attachments/files/22966162/MauiNet9Overlap.zip)

### Link to public reproduction project repository

_No response_

### Version with bug

10.0.0-rc.2

### Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

### Last version that worked well

9.0.111 SR11.1

### Affected platforms

Android

### Affected platform versions

_No response_

### Did you find any workaround?

none

### Relevant log output

```shell

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.