Position Issue
LiYanan2004 opened this issue · comments
I have created this view, and I noticed when I clicked on the rectangle which have more than 1 item in it, it will go into navigationLink View and then when I back to this main View, the first rectangle goes to the bottom. I have made sure that this is not my code issue. Can you help me?
ThankYou very much.
Hi @LiYanan2004,
I tried to replicate a similar layout with navigationLink
actions.
I didn't notice anything odd happening with the positions of the items.
(https://gist.github.com/paololeonardi/c226351b1144bd991fbbc47e732e5acb)
By chance, are you updating the collection of data used to render the grid when the main view appears? If you try to inspect the grid in Xcode with the "Debug View Hierarchy" tool, do you see any hidden view on the top left corner?