Listview on iOS - Only able to scroll down to 50% of the total elements in this certain case. (Maybe there are other cases as well)
All elements must be shown
50% of elements are shown
Setting the selected item one more time in the code behind causes only half of the elements of the listview to be rendered. When x:Name attribute is removed, everything works fine.
But anyway this info might be useful to you, because this was not the case in previous versions.
When updated to version 3.6 this behavior appeared.
Just tested it with Xamarin.Forms v4.0.0 - still not ok.
Probably this bug is related to #6075
iOSListviewNotScrollingCorrectly.zip
updated repo without DataType:
iOSScrollingProblemUpdated.zip
@kingces95
Removing x:DataType="{x:Type models:TestModel}" from line 18 does not solve the problem.
I am using visual studio 2017 15.9.12 - it compiled it just fine, that's why i submitted it with it, otherwise i would have removed it
updated repo without DataType:
iOSScrollingProblemUpdated.zip
Temporary solution we found: introduce an empty list view footer.
<ListView.Footer>
<StackLayout BackgroundColor="Transparent" HeightRequest="0"/>
</ListView.Footer>
Having same issue. @alekseevabah temporary solution worked.
Thanks for posting your workaround @alekseevabah! How has this issue not been addressed since June?
Most helpful comment
Temporary solution we found: introduce an empty list view footer.
<ListView.Footer> <StackLayout BackgroundColor="Transparent" HeightRequest="0"/> </ListView.Footer>