You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
An ItemsRepeater inside of a ListViewItem datatemplate causes a crash when trying to scroll due to a layout cycle.
Its easy to repro if the window height is small like shown in the video and there are 2 (more than 1?) items in the item repeater that both are larger than the window height.
ListView and ItemsRepeater do their own corrections and anchoring which at times can conflict with each other especially if the growth is in the same direction. Please nest ItemsRepeater instead which knows how to work when nested.
Describe the bug
An ItemsRepeater inside of a ListViewItem datatemplate causes a crash when trying to scroll due to a layout cycle.
Its easy to repro if the window height is small like shown in the video and there are 2 (more than 1?) items in the item repeater that both are larger than the window height.
Steps to reproduce the bug
Steps to reproduce the behavior:
Run the test app.
ItemsRepeaterCrash.zip
Make the height of the window small like shown in the video.
Scroll down and you should hit the crash.
Expected behavior
Should scroll normally. No Crash.
Screenshots
ReproCrash.mp4.zip
callstack.txt
Version Info
NuGet package version:
[Microsoft.UI.Xaml 2.2.190830001]
Additional context
The text was updated successfully, but these errors were encountered: