Skip to content

Cascade ISafeAreaView.IgnoreSafeArea #24393

Answered by LeadAssimilator
DashTheDev asked this question in Q&A
Discussion options

You must be logged in to vote

Report both issues and wait 5+ years for them to get fixed? 😛

The IgnoreSafeArea changes have been broken since they were introduced along with Page UseSafeArea. Whomever wrote them was probably drunk at the time. But to make matters worse the issues have been ignored for nearly 3/4 year now.

I've actually just ran into this myself today and stumbled upon your question while researching solutions. Short of waiting, adding the property everywhere or building/patching maui yourself, I've come up with 2 tenable solutions:

  • Create your own LayoutHandler implementation to set IgnoreSafeArea = true in SetPlatformView (or ConnectHandler) and register it in your MauiApp builder's ConfigureMauiHan…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DashTheDev
Comment options

Answer selected by DashTheDev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants