We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1614ac8 commit 84b125cCopy full SHA for 84b125c
1 file changed
XamlToolkit.WinUI.Controls/WrapPanel/WrapPanel.cpp
@@ -103,7 +103,7 @@ namespace winrt::XamlToolkit::WinUI::Controls::implementation
103
}
104
105
auto desiredMeasure = UvMeasure(orientation, child.DesiredSize());
106
- if ((desiredMeasure.U + position.U + paddingEnd.U) > parentMeasure.U)
+ if ((desiredMeasure.U + position.U + paddingEnd.U) > parentMeasure.U || position.U >= parentMeasure.U)
107
{
108
// next row!
109
position.U = paddingStart.U;
0 commit comments