Bug 60636 - Get weird left margin on listview in Xamarin Forms on iOS
Summary: Get weird left margin on listview in Xamarin Forms on iOS
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.4.0
Hardware: PC Mac OS
: Normal blocker
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-11-13 04:36 UTC by Albilaga Linggra Pradana
Modified: 2018-01-16 18:06 UTC (History)
24 users (show)

Tags: listview, margin, ac
Is this bug a regression?: Yes
Last known good build:

Left margin on listView (461.31 KB, image/png)
2017-11-13 04:36 UTC, Albilaga Linggra Pradana

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:

Description Albilaga Linggra Pradana 2017-11-13 04:36:10 UTC
Created attachment 25659 [details]
Left margin on listView

Latest xamarin.forms stable get weird left margin issue on iOS when using listview. I've add the attachment to describe the problem. It shown only on iOS and works well on Android
Comment 1 Paul DiPietro [MSFT] 2017-11-13 05:55:11 UTC
Could you please give us a reproduction?
Comment 2 Albilaga Linggra Pradana 2017-11-13 07:00:04 UTC
https://github.com/albilaga/ListView you can try in this github
Comment 3 Pynne 2017-11-13 08:55:45 UTC
I am also facing this as well. Could you please provide a workaround?
Comment 4 Albilaga Linggra Pradana 2017-11-13 08:56:54 UTC
My workaround for now is using
Comment 5 brux88 2017-11-13 21:07:22 UTC
i have the same error on ios
Comment 6 Fred 2017-11-14 10:22:50 UTC
Just a candid question (and probably a bit off topic, sorry): how come such a bug could have passed the QA tests in the first place? This really questions me as the ListView is one of the most prominent controls used out there, most probably in every single app. Emphasis: I do not want to unconstructively blame anyone, just curious to learn about your QA process. Thanks
Comment 7 Nicolai Henriksen 2017-11-14 10:31:24 UTC
I can verify that this is easily reproduceable. It is not a problem on Android and not on iOS 10. The bug was introduced somewhere between and
Comment 8 Martin B. Bjerregaard 2017-11-14 11:27:55 UTC
The bug is reproducable here as well on iOS 11.
Comment 9 Omar 2017-11-14 12:25:37 UTC
Same thing here, only after updating to
Comment 10 Joe Brock 2017-11-14 13:15:08 UTC
This is an issue for me too. I've been trying to work around it for a couple of days now. The issue seems to be somewhere between and

Suspect this is related to the PR that went for better large title / safe area support in iOS 11.x.
Comment 11 jmelliadis 2017-11-14 15:49:17 UTC
Having the same issue in our app. I've been trying to find a work around for it, but have so far been unsuccessful. I would really like to use as it has support for the safe area insets platform specific, but I don't think I can leave this weird margin to do it.
Comment 12 John Miller [MSFT] 2017-11-15 12:24:12 UTC

Is this issue related to this? 

Comment 13 Ton Snoei 2017-11-15 13:30:27 UTC
Same problem here. Fix: back to

He Xamarin guys, no offense, but how in the world can you release software containing this kind of problems...? We all learn proper unit and integration testing. This kind of problems can easily be found by automated UI tests. Just wondering (again: no offense)
Comment 14 Ton Snoei 2017-11-15 13:32:23 UTC
Additionally: This problem only occurs with item templates in the listview. Not with header and footer templates.
Comment 15 Jim Horvath 2017-11-15 17:13:52 UTC
Same here.  Going back to
Comment 16 Albilaga Linggra Pradana 2017-11-16 03:06:24 UTC
The issue still exist on
Comment 17 Albilaga Linggra Pradana 2017-11-16 03:06:44 UTC
The issue still exist on
Comment 18 Doanh Ngo 2017-11-16 04:04:12 UTC
very annoy problem. I have to roll back from latest version to 2.5 pre1
Comment 19 mina 2017-11-16 10:07:30 UTC
the issue still there on we need this issue fixed as soon as possible as our customer complain
Comment 20 Sander Stam 2017-11-16 10:29:32 UTC
In XF we have the issue also. Please fix.
Comment 21 John Miller [MSFT] 2017-11-16 15:01:02 UTC
You can workaround this by getting the latest releases from GitHub. They are not yet on NuGet at the time of this post. 


I tested with (2.5 SR1) and the issue is resolved.
Comment 22 Rui Marinho 2017-11-16 15:30:07 UTC

Should be fixed on 2.4.0-sr6
Comment 23 Jim Horvath 2017-11-16 17:41:31 UTC
Can you comment on when 2.4.0-sr6 might become available?
Comment 24 mina 2017-11-21 09:35:33 UTC
thanks fixed in version
just update to last stable version will fix your issue
Comment 25 Luis Abreu Acevedo 2017-11-27 05:38:14 UTC
The issue still exist on