xamarin/Xamarin.Forms
Page.UseSafeArea="true" not respected on all pages inside a CarouselPage
开放
#3,837 创建于 2018年9月19日
a/layoute/4 :clock4:help wantedinactivet/bug :bug:up-for-grabs
仓库指标
- 星标
- (5,644 个星标)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
Description
When creating a CarouselPage with more than 2 ContentPages within it. The Page.UseSafeAre is only respected on the first two pages.
Steps to Reproduce
- Create an empty Xamarin.Forms project
- Change the MainPage to a CarouselPage
- Add more than 2 ContentPages, with each ContentPage having this:
xmlns:ios="clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core" ios:Page.UseSafeArea="true"and some content on it. - Start iOS simulator for an iPhone X(s/r)
Expected behavior
It should be expected that the "notch" area will be discarded and that the content starts below it.
Actual Behavior
For the first two pages the notch area is discarded. But for every other page it is not.
Basic Information
Xamarin.Forms 3.2.0.839982 Simulator device: iPhone XR iOS 12.0
Screenshots
First two pages:
Every other page: