FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Allow opting out of iosOverflowSafeArea being true by default · Issue #6573 · NativeScript/NativeScript · GitHub

Allow opting out of iosOverflowSafeArea being true by default #6573

Description

Is your feature request related to a problem? Please describe.
Built-in support for iOS safe area is awesome! However, I'm finding that I need to add iosOverflowSafeArea="false" everywhere now. I typically use nested StackLayout components where I would use a div in HTML. They're also great for laying out items horizontally instead of vertically, etc. The problem is that these components are not being used as containers, but simply nested layouts. Obviously NativeScript doesn't know this, so it's adding crazy padding to all of these nested elements on iPhone X, XS, etc.

Describe the solution you'd like
Add an option to make iosOverflowSafeArea false by default. This would allow users to manually set it to true on actual container elements.

Describe alternatives you've considered
This just also naturally makes me wonder if I've been tackling NativeScript development wrong. If users aren't using nested layouts, what are they using? Is there something else I should be doing that I'm not aware of?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL