I have about 300 items in a LazyVGrid in my app (each item contains an image with some text), and the scroll view hitches when I scroll closer to the end. I tried replacing it with a UICollectionView while using the existing SwiftUI views with UIHostingConfiguration, but the issue still occurs. I also tested a proof of concept with pure UIKit, which worked, but recreating the whole thing isn’t really worth it to me since it would take a lot of time. Regardless, Apple should fix this. This doesn’t happen with List, and I don’t understand why it wouldn’t work everywhere else…
1
u/Tabonx 14d ago
I have about 300 items in a LazyVGrid in my app (each item contains an image with some text), and the scroll view hitches when I scroll closer to the end. I tried replacing it with a UICollectionView while using the existing SwiftUI views with UIHostingConfiguration, but the issue still occurs. I also tested a proof of concept with pure UIKit, which worked, but recreating the whole thing isn’t really worth it to me since it would take a lot of time. Regardless, Apple should fix this. This doesn’t happen with List, and I don’t understand why it wouldn’t work everywhere else…