UniformGrid does not behaves well with dynamic changes #3980
Replies: 8 comments
-
This was out of scope for V1, I call it out in the docs:
|
Beta Was this translation helpful? Give feedback.
-
@nmetulev should we change this to 'feature-request' and open a user-voice or something for this since it was outside of the initial scope? |
Beta Was this translation helpful? Give feedback.
-
sounds good, can you create the user voice? |
Beta Was this translation helpful? Give feedback.
-
Seems like there is no uservoice entry created. |
Beta Was this translation helpful? Give feedback.
-
Seems like there is no uservoice entry created. |
Beta Was this translation helpful? Give feedback.
-
Seems like there is no uservoice entry created. |
Beta Was this translation helpful? Give feedback.
-
Seems like there is no uservoice entry created. |
Beta Was this translation helpful? Give feedback.
-
This issue seems inactive. It will automatically be closed in 14 days if there is no activity. |
Beta Was this translation helpful? Give feedback.
-
I'm submitting a...
Current behavior
I've copied the sample code inside the docs (https://docs.microsoft.com/en-us/windows/uwpcommunitytoolkit/controls/uniformgrid) and executed the app. It works as expected, but if I change the values dynamically (the elements Grid.Column and the UniformGrid's Rows properties, for example) they don't give the same result as if I close the app and run it again with the new value.
Expected behavior
The control should reevaluate it's children position correctly if I change it's values.
Minimal reproduction of the problem with instructions
Expected result:
Actual result:
If you restart the project with the new source, the UniformGrid renders as expected.
Environment
Beta Was this translation helpful? Give feedback.
All reactions