dotnet / dotnet/maui

Overlay Action button at the bottom goes below the safe area (system back button) on Android in Samsung devices.

Open
#34,339 2 comments 0 reactions 0 assignees View on GitHub
area-safearea platform/android t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 14h
Merged PRs (30d)
296

Description

### Description

Overlay Action button is below the safe area (system back button) on Android. Button bar is always shown (not minimized). Depending on app screen and when app reloads the button is sometimes to bottom of safe area and others times above.

### Steps to Reproduce

#### Steps to reproduce
1. Run any app with a Overlay Action Button at the bottom with a lot of text fields vertically stacked such that those text entry fields occupies the entire screen to enter data or use the app in the github repo attached to this issue.
2. Enable dismissing keyboard by tapping/pressing on the empty area in the screen.
3. Click on the text entry field at the bottom of the screen closer to the bottom overlay action button to enter data.
4. Enter any text using the on-screen keyboard i.e. Samsung Default Keyboard.
5. Now tap on any empty area of the screen to close the keyboard instead of using back button to close the keyboard.
6. Note that the Overlay Action button at the bottom goes below safe area (system back button), making it unusable.

#### Expected behaviour
Overlay Action button should be above the safe area (system back button) on Android.

#### Actual behaviour
Overlay Action button is below the safe area (system back button) on Android.

#### Screenshots

#### Expected
![Image](https://github.com/user-attachments/assets/2041842b-d8e2-47de-9a05-c8eada872728)

#### Actual
![Image](https://github.com/user-attachments/assets/31ffe181-00ba-4cbc-b0d3-b166d34f525b)

### Link to public reproduction project repository

https://github.com/aks14621/AndroidSamsungKeyboardTest/tree/main

### Version with bug

10.0.1

### 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

Android 16

### Did you find any workaround?

Note : This issue seems to happen only in Samsung Android devices and not on Pixel devices.

_No response_

### Relevant log output

```shell

```

Contributor guide

Open the contributing guide

Research direction

Start with the public reproduction project at https://github.com/aks14621/AndroidSamsungKeyboardTest and reproduce the issue on a Samsung device running Android 16 with the Samsung keyboard. Inspect the Overlay Action Button behavior after dismissing the keyboard by tapping empty space. Done means the button consistently remains above the system back-button safe area.

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.