triniwiz / triniwiz/nativescript-plugins
Safe Area iOS
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 87
- Forks
- 57
- Avg merge
- 1h 36m
- Merged PRs (30d)
- 4
Description
Hi,
SafeArea not work for the content of pager with NS7 & @nativescript-community/ui-pager :
"@nativescript/core": "~7.0.0"
"@nativescript-community/ui-pager": "^13.0.0-alpha.10",

<Pager
backgroundColor="orange"
row="1"
#pager
[selectedIndex]="1"
>
<StackLayout *pagerItem backgroundColor="red" ios:iosOverflowSafeArea="true">
<label text="First"></label>
</StackLayout>
<StackLayout *pagerItem backgroundColor="white">
<label text="Second"></label>
</StackLayout>
<StackLayout *pagerItem backgroundColor="black">
<label text="Third" color="white"></label>
</StackLayout>
<StackLayout *pagerItem backgroundColor="green">
<label text="Fourth"></label>
</StackLayout>
</Pager>
I would like the white area to cover the safe area as well.
Thanks !
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the provided Pager example with @nativescript/core ~7.0.0 and @nativescript-community/ui-pager ^13.0.0-alpha.10 on iOS, using the attached screenshot as the observed result. Investigate how the pager content handles ios:iosOverflowSafeArea, and consider the issue complete when the white page area also covers the safe area.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100