I'm porting an iOS application into Xamarin Forms and I'm pretty much done.... I'm just having an odd issue where I expand Table Cells and the ListView just auto scrolls to the top
I took the UITableViewCell I already made in iOS and created a custom renderer for the viewcell
It's a grouped ListView
<ListView
IsGroupingEnabled="true"
GroupDisplayBinding="{Binding GroupName}"
HasUnevenRows="True" >
When a user clicks on a ROW in the listview I unhide some elements inside that cell and then call Reload on the Cell
var indexPath = tv.IndexPathForCell(theCell);
tv.ReloadRows(new[] { indexPath }, UITableViewRowAnimation.Automatic);
This (for some reason) causes the ListView to auto scroll itself to the top of the screen... Same thing happens if I click on the cell and hide the elements and then reload the row so that it redraws with the new height... The cell itself resizes and looks super... But now the cell is out of sight because the listview scrolled to the top for some reason
The working application I'm porting this from doesn't have this issue :-/ I could probably just get around this by using a renderer on the listview and using the DataSource I was already using... BUT I was curious if there was just something obvious causing this behavior