Open stephtr opened 1 year ago
@stephtr What is the scenario you are trying to achieve ?
The idea was to have a FlipView filled with controls, where the amount of controls depends on the bound items. The hope was that WinUI would then automatically figure out the optimal height for the FlipView.
Describe the bug
When packing a
FlipView
into aStackPanel
and settingFlipView.ItemsPanel
to aStackPanel
(see reproduction details below), the app crashes when the boundItemsSource
changes, in case bothStackPanel
's orientation are the same.The COMException states:
Steps to reproduce the bug
Create a new WinUI 3 desktop app with:
and
leads to the COM exception.
Expected behavior
No response
Screenshots
No response
NuGet package version
None
Windows version
Windows Insider Build (xxxxx)
Additional context
Windows 11 build 23486, .NET 7.0, WindowsAppSDK 1.3.230602002