Skip to content

[NET10.0] Change all defaults of SafeAreaEdges so that they will return "None" as the default if the user hasn't set the value #31925

@PureWeen

Description

@PureWeen

Description

We want to make sure that ios and android behave consistently and ensure the least amount of surprise and difficulty on users trying to influence SafeAreas.

This will be a breaking change because now by default Android will layout edge to edge but this is acceptable because we want to make sure ios/android act the same.

We need to go through the code everywhere where we are returning a default for the GetSafeAreaEdges and make sure that the default returned is NONE

  1. if there is an existing API in place that API should win. For example, on Page if the user has set with the platform specific or on Layout if they've set IgnoreSafeArea to true then that will be used as the default
  2. if the user hasn't specified any values that influence the safe area the default should always be none. This applies to Layouts, Borders, ContentViews, ScrollView, ContentPage.

Metadata

Metadata

Assignees

Labels

s/triagedIssue has been reviewed

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions