Bug 60802 - ListView control which is not the page root messes around with the iPhone X SafeArea
Summary: ListView control which is not the page root messes around with the iPhone X S...
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-11-22 11:04 UTC by Sebastian Kruse
Modified: 2017-11-28 22:09 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 60802 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description Sebastian Kruse 2017-11-22 11:04:27 UTC
I have a project with multiple ListView controls. As long as the ListView control is the root element of a content page it seems to work without any modifications with the iPhone X SafeArea. But in some pages I need a SearchBar too (and in some Apps also Google AdMob) so that the ListView is no longer the root child of the content page. In this case the iPhone X SafeArea gets ignored by the ListView. 

How can I add the SafeArea for Left and Right (and sometimes Bottom too) to the ListView? It seems like there is no clean solution. Here is a repository which reflects this problem (I implemented a workaround for the ViewCells which offsets themself but the Seperator of the ListView and the ShortGroup index is still messing with the SafeArea): https://github.com/Sebastian1989101/OpenGeoDB-App 

It seems like there is no way to handle this yet. Also, because it works when the ListView is the root child of the content page, I consider this as bug.