I want to use AdaptiveGridView from newest commit on branch dev in my app.
I get exception:
A cycle occurred while laying out the GUI.
Layout cycle detected. Layout could not complete.
when I put it inside of ScrollViewer
Layout cycle errors are hard to understand with just a given exception unfortunately. Can you provide any sample app for us to repro?
Up?
I have trouble recreating this issue with new project - I'll work on that on the weekend.
I'm sorry that it took that much time, but I finally prepared sample which recreates error, I'm requesting for opening issue again.
Just run sample app to see the issue. If you delete ScrollViewer from FilesPageapp launch fine.
You can find sample here (I can't add file here, presumably because it's closed topic):
https://1drv.ms/u/s!ArPpOw1vl6Gdra1BCvptxoz9Eg8bCQ
@bkaankose interested to take this one? (Assuming yes ;))
@deltakosh got it! Does not matter if GitHub is banned in my country or not (yeah it did ...), I will work on it :)
My hero !! :D
Hey! some news? Is everything fine?
@deltakosh didn't had a chance to look at yet. But today is the day... :)
Thanks 馃憤
SHould not be a problem anymore as now the AdaptiveGridView is a gridview
Unfortunately, after upgrading to v1.2 problem still persist (also in example solution)
The control had a built in ScrollViewer now. You shouldn't need to put it inside another.
@skendrot at last I found the time to check this. My problem was that In this ScrollViewer I had StackPanel with multiple items in it (one of them was GridView). I manage to obtain the same UI effect without it, but I'm not sure if it's proper solution for original problem.
Can you provide a sample repo?
@skendrot you can use previous sample repo - just update Toolkit using nuget
Not sure if this is related, but I get the same
Layout cycle detected. Layout could not complete.
error message when putting the AdaptiveGridView inside a RelativePanel.
I'll have a look asap :)