Post

Replies

Boosts

Views

Activity

Reply to iOS 16.1 Crashes when scroll (LazyVStack and LazyVGrid)
Same issue here... Multiple LazyVGrids in a scrollview sharing the same grid layout with up to 4 items per row. Initial load is just fine. Scroll to the bottom no problem. Then start scrolling back to the top. Crashes when it reaches one of the LazyVGrids where the last row is a full row (i.e. has a multiple of 4 items). Other LazyVGrids with 1, 2, or 3 items in the last row have no problem. Like the OP, looks like an extra item is being inserted in the LazyVGrid that crashes as it gets pushed to an extra row, but cannot scroll up any more to see. Same non-helpful crash report too. Crash happens regardless if I declare the GridItem as fixed, flexible, or adaptive.
Dec ’22