-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
WrapPanel does not reliably reflow items when the available size changes after initial layout.
Current behavior
- Initial arrangement can appear correct.
- After resizing the host window narrower or wider, wrap breaks are often stale.
- Items may stay on previous rows/positions (or overlap nearby elements) instead of repositioning for the new width.
Expected behavior
WrapPanelshould recompute wrapping immediately whenever available width/height changes.- Items should reflow to correct rows/positions for both shrink and grow resize paths.
Reproduction
- Open a view using
WrapPanelwith multiple buttons/items (for example Frame/Page demo action rows before workaround). - Resize the app window significantly narrower, then wider.
- Observe item placement does not consistently update to new wrap boundaries.
Notes
- Temporary workaround in demos has been to use explicit
StackPanelrow grouping instead ofWrapPanel. - Root cause likely in measure/arrange interaction where wrap decisions during measure are based on unconstrained width and not invalidated/recomputed on subsequent size changes.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working