CommunityToolkit / CommunityToolkit/Maui
[BUG] TabBar position is changed after MediaElement exits fullscreen mode on Android
- Dominant language
- C#
- Stars
- 2.7k
- Forks
- 500
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 7
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Did you read the "Reporting a bug" section on Contributing file?
- [x] I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug
### Current Behavior
There is a page which contains a MediaElement to play video, and the page has a TabBar element at the bottom. If i click the "FullScreen" button of the MediaElement and then exit the FullScreen mode. the TabBar's position is changed (not at the bottom of the page).
### Expected Behavior
TabBar position should keep if MediaElement exits FullScreen mode.
### Steps To Reproduce
1. Create a MAUI application, and modify the MainPage.
[TestMediaElement.zip](https://github.com/user-attachments/files/22535588/TestMediaElement.zip)
2. Deploy the application to an Android device (version is 14), and click the FullScreen button of the MediaElement, and then exit the FullScreen mode.

### Link to public reproduction project repository
https://github.com/vi-wik/TestMediaElement
### Environment
```markdown
- .NET MAUI CommunityToolkit MediaElement:6.1.2
- OS:Windows 10 Build 10.0.19045.6332
- .NET MAUI:9.0.110
```
### Anything else?
_No response_
Contributor guide
Research direction
Start with the linked TestMediaElement reproduction project and deploy it to an Android 14 device. Reproduce the MediaElement fullscreen transition and inspect the TabBar layout afterward; done means the TabBar remains at the bottom when fullscreen mode is exited.
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