dotnet / dotnet/maui

[Android] Layout was hidden when the keyboard appeared for the below ScrollView's Entry content.

Open
#27,952 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

In this sample tests the behavior of a sticky header when the on-screen keyboard is displayed. The expected behavior is that the sticky header should remain visible at the top of the screen while interacting with input fields. But, in this case, the sticky header becomes invisible when the keyboard appears.

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

In android,

https://github.com/user-attachments/assets/a918a3cb-f822-408d-ae8a-1f5a8b9a67db

In iOS,

https://github.com/user-attachments/assets/28088253-4adb-4503-b10a-4fbd06821bcf

Steps to Reproduce
  1. Open the app on an Android device. KeybordScrollingIssue.zip
  2. Scroll down to locate an input field (e.g., Entry12) below the sticky header.
  3. Tap on the input field to focus it and trigger the on-screen keyboard.
  4. Observe the sticky header's visibility when the keyboard appears.

Actual Behavior:

  • The sticky header becomes invisible when the keyboard appears.

Expected Behavior:

  • The sticky header should remain visible when the keyboard appears.
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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the behavior from KeybordScrollingIssue.zip on Android, then inspect the HostApp UITest named Issue19956 that is currently disabled. Trace the sticky header and keyboard-scrolling behavior around the ScrollView's Entry content. Done means the header remains visible when the keyboard appears and the Issue19956 UITest is enabled and 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
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.