[AutoLayout] Collapsed elements in autolayout still takes space #660
Labels
control/auto-layout
kind/bug
Something isn't working
triage/untriaged
Indicates an issue requires triaging or verification.
Current behavior
You can see this in this gif were you switch visibility between two grids. (AutoLayout to the left, StackPanel to the right)

In this gif, where the blue grid is being collapsed, you can see that it still takes space in the AutoLayout while it doesnt in the StackPanel.
Expected behavior
I would expect collapsed element in an AutoLayout to stop taking space, just like they do in a StackPanel.
How to reproduce it (as minimally and precisely as possible)
BasicApp.zip
To test, just click on the button and notice the blue grid always takes space in the AutoLayout and does not in the StackPanel.
Nuget Package:
Package Version(s):
Affected platform(s):
The bug is present on all platform tested
IDE:
Relevant plugins:
Anything else we need to know?
The text was updated successfully, but these errors were encountered: