Skip to content

Polyfill for env(safe-area-inset-*) would be great #128

Open
@efoken

Description

Describe the feature request

Would be cool if the CSS env() function can be used, because this would completely replace the need for a SafeAreaView component on the Native side and at the same time this would even work in iOS Web.

Example:

{
 paddingTop: 'env(safe-area-inset-top)',
 paddingRight: 'env(safe-area-inset-right)',
 paddingBottom: 'env(safe-area-inset-bottom)',
 paddingLeft: 'env(safe-area-inset-left)',
}

https://developer.mozilla.org/en-US/docs/Web/CSS/env

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions