dotnet / dotnet/maui

[Android] Keyboard covers content at bottom of screen in a ScrollView

Open
#27,951 4 comments 0 reactions 0 assignees View on GitHub
area-keyboard partner/syncfusion platform/android s/triaged t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 14h
Merged PRs (30d)
296

Description

### Description

When clicking into an Entry control inside a ScrollView, users can scroll down through a few entries, but it becomes impossible to reach the very bottom of the page. The on-screen keyboard covers the last few Entry fields, preventing interaction.

Note: While fixing this issue enable the following UITest in HostApp: Issue19956

In android,

https://github.com/user-attachments/assets/12af4dd6-39d0-407f-8a11-2f82d684b7bc

In iOS,

https://github.com/user-attachments/assets/b8e8de9b-f5d8-46dd-a3fc-34bae14b80a5

### Steps to Reproduce

1. Open the app on an Android device. [KeybordScrollingIssue.zip](https://github.com/user-attachments/files/18904753/KeybordScrollingIssue.zip)

2. Navigate to the page with the ScrollView containing multiple Entry controls.
3. Tap on an Entry near the top to bring up the keyboard.
4. Attempt to scroll down to the bottom of the ScrollView.
5. Observe that the keyboard covers the bottom Entry fields, and you can't scroll further to access them.

**Actual Behavior:**
The on-screen keyboard covers the bottom Entry fields inside the ScrollView.
Users are unable to scroll far enough to access or interact with the last few Entry controls.

**Expected Behavior:**
The ScrollView should adjust its content or scroll position to ensure that all Entry fields, including those at the bottom, remain fully visible and accessible when the keyboard is displayed.

### Link to public reproduction project repository

_No response_

### Version with bug

9.0.40 SR4

### Is this a regression from previous behavior?

Not sure, did not test other versions

### Last version that worked well

Unknown/Other

### Affected platforms

Android

### Affected platform versions

_No response_

### Did you find any workaround?

_No response_

### Relevant log output

```shell

```

Contributor guide

Open the contributing guide

Research direction

Start with the Android ScrollView and Entry behavior described in the reproduction steps, then enable the HostApp UITest named Issue19956. Reproduce the keyboard interaction on Android and inspect how far the ScrollView can move while the keyboard is visible. Done means the bottom Entry controls remain fully accessible and the Issue19956 test passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.