Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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 45929 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
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Created attachment 18235 [details]
ListView ItemTemplate do not change heihgt based on content
When a ListView has a ItemTemplate with dynamic content, the ViewCell Height do now get resized consistently:
I have a sample where inside the ViewCell I have a gray block which I show/hide from code using a IsVisible Binding.
on android it works perfectly: when the block disappear, the card resizes itself and all items bellow reposition.
on UWP the block disappear but the card size stay the same until I change the size of the window. If I scroll down enough to hide the item and back again, it show with the right size.
on iOS, I get the same behavior as UWP, when the block disappear, the ViewCell height do not change until I scroll to hide it and scroll back.
Tested against 184.108.40.206-nightly and observed the contents of the cell collapse and expand when the box visibility is toggled, however the row itself doesn't resize.
I think this may be the correct behavior. Getting confirmation before closing the issue or reconfirming.
Frame and ContentView on UWP don't change (invalidate?) their size when children change.
Putting the contents of the ViewCell in a StackLayout instead of Frame resizes the entire row giving the expected behavior.