Bug 55935 - RecycleElement and SeparatorVisibility=false Still Showing Separator on iOS
Summary: RecycleElement and SeparatorVisibility=false Still Showing Separator on iOS
Status: RESOLVED DUPLICATE of bug 39802
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 2.3.4
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Jimmy [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2017-05-03 20:53 UTC by clay.zuvich
Modified: 2017-05-31 15:17 UTC (History)
2 users (show)

Tags: ios listview RecycleElement SeparatorVisibility
Is this bug a regression?: ---
Last known good build:


Attachments
RecycleElement and SeparatorVisibility=false Still Showing Separator on iOS (1019 bytes, application/xml)
2017-05-03 20:53 UTC, clay.zuvich
Details
repro project (271.55 KB, application/x-zip-compressed)
2017-05-03 23:45 UTC, Jimmy [MSFT]
Details


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 on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DUPLICATE of bug 39802

Description clay.zuvich 2017-05-03 20:53:21 UTC
Created attachment 21927 [details]
RecycleElement and SeparatorVisibility=false Still Showing Separator on iOS

I am setting the ListView.CachingStrategy to RecycleElement and the SeparatorVisibility to None, and I am still seeing a small separator (always white/transparent) on iOS.

iOS -> 10.3
Forms -> 2.3.4

I have attached a sample XAML.  I also noticed in the ViewCellRenderer.cs (iOS) on line 99, you guys are adding 0.5f if SuppressSeparator is true.  See code below and XAML attachment.  I'm wondering if that's what is causing the issue.  I don't see this behavior in Android.

if (SupressSeparator)
{
	var oldFrame = Frame;
	ContentView.Bounds = Frame = new RectangleF(oldFrame.Location, new SizeF(oldFrame.Width, oldFrame.Height + 0.5f));
}
Comment 1 Jimmy [MSFT] 2017-05-03 23:45:07 UTC
Created attachment 21929 [details]
repro project

Thank you for filing this report! I put the xaml file you provided into a sample project and I am seeing the issue you described. I've attached the project to the report.

As mentioned, this is occurring when using "RecycleElement", it works fine with "RetainElement". It is also _not_ affecting Android or UWP. I am confirming this report so the team can look into this.


### Version Test
2.3.6.92    BAD
2.3.5-pre2  BAD
2.3.4.231   BAD
Comment 2 Jimmy [MSFT] 2017-05-31 15:17:06 UTC

*** This bug has been marked as a duplicate of bug 39802 ***