You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
Hi @lsapan,
Can you give us some more info about your case? It will help if you provide a sample project or at least some code fragments, which shows the issue you are facing.
Some issue with the iosOverflowSafeArea property and the ScrollView has been fixed with PR - #6561. The PR is already merged in master, and I would suggest testing with @next(tns plugin remove tns-core-modules->tns plugin add tns-core-modules@next) modules and check if you will have the same problem.
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 nestedStackLayout
components where I would use adiv
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?
The text was updated successfully, but these errors were encountered: