CommunityToolkit / CommunityToolkit/Maui
[BUG] iOS extra space at bottom of the status bar
- 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
On iOS we are seeing some extra space on the status bar. this issue is also shown here ( [kubaflo] commented [on Oct 30, 2024] )
https://github.com/CommunityToolkit/Maui/pull/2309
But is still happening for me. In my observations it was noticed that this is also related to the NavBar being hidden, the space does not appear if the navBar is shown but does if the navbar is hidden.
### Expected Behavior
No extra space should be shown between the status bar and the content of the ContentPage.
### Steps To Reproduce
add a tool kit status bar to a contentPage.
Here is some XAML to reproduce the issue
`
`
### Link to public reproduction project repository
N/A
### Environment
```markdown
- .NET MAUI CommunityToolkit: 12.0.0
- OS: IOS, tested on 17 and 18.
- .NET MAUI: 9.0.80
```
### Anything else?
Additional Notes:
This might feel like a random bug as it can appear without the statusBar in the xaml, once the statusbar has been added to 1 screen it cascades to others shown after.
Workaround:
If you are seeing this and need a quick fix you can add platform specific padding to your layout to push the content up.
`
Contributor guide
Assessment
This issue has not been assessed yet.