Open AnanthaLakshmiKannan opened 12 months ago
We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.
Maybe related/duplicate: https://github.com/dotnet/maui/issues/15177
Verified this on Visual Studio Enterprise 17.7.0 Preview 6.0. Repro on Windows 11 and iOS 16.4 .NET 8, not repro on Android 13.0-API33 with below Project: Issue-Border.zip
Description
-Created a CollectionView with Border as Direct Content of DataTemplate. -Inside Border defined Grid with RowDefinitions as stat and Auto.Defined Label as FirstRow and Second row with VerticalStackLayout and changed is visibility at runtime through SelectionChanged event. -When Changing the visibility the Content Height is not updated in View.Eventhough updated as AutoSizing custom control. -With Border, The content measure is done, the Border content is returned with improper Desired Height value.
OutPut Image:![image](https://github.com/dotnet/maui/assets/92776579/2f8bcfe9-cd6f-4993-87a0-29a57c2dd40d)
Steps to Reproduce
1.Run the sample 2.Tap item to change the item visibility
Observed Behavior: Item visibility was changed but item not updated in view with updated Height. Expected Behavior: Item visibility must be changed and updated in view.
Link to public reproduction project repository
https://github.com/AnanthaLakshmiKannan/Issue-Border
Version with bug
7.0.86
Last version that worked well
Unknown/Other
Affected platforms
Android, Windows
Affected platform versions
Android 13 - API 33
Did you find any workaround?
No response
Relevant log output
No response