Open vsfeedback opened 5 months ago
Verified this issue with Visual Studio 17.10 preview 2(8.0.40-nightly.10450+sha.0c02e4b345-azdo.9375189 & 8.0.7. Can repro on iOS platform with sample project.
It appears that I hit the same issue. I set the grid row height from 0/absolute to 1/auto based on boolean flag-to-gridsize converter. It stops working properly when I havigate down (push) and then back(pop) to the same page again. iOS only.
This issue has been moved from a ticket on Developer Community.
[severity:I'm unable to use this version] On iOS, a Grid's auto-sized row height doesn't update when items are added or removed from a the ItemsSource collection of a ListView control in that row of the Grid control. It works as expected (e.g., the row's height is adjusted to accommodate the new collection size) on Android and WinUI.
As a workaround, code was added to the reproduction project that recreates the Grid's RowDefinitionCollection when the "Refresh" button is tapped, which causes the Grid to be redrawn correctly. However, this is not feasible for a production application.
A reproduction project is located at: https://github.com/hunsra/ListViewInGrid
Original Comments
Feedback Bot on 3/17/2024, 06:52 PM:
(private comment, text removed)
Original Solutions
(no solutions)