I built this Hacker News client a couple of months ago, the app works fine in iOS 16 but after I upgraded to iOS 17, the scrollview flitters whenever there's an insertion.
I have tried removing withAnimation block around insertion, and also made sure items in list are identifiable. Anything else I should try?
Replacing LazyVStack with VStack will make the issue go away but LazyVStack is kinda necessary here bc I don't have pagination atm.
screen recording: https://www.reddit.com/link/16hc43h/video/r6feg0l6zxnb1/player
ScrollView {
// other views here
LazyVStack {
ForEach(store.items) { item in
CommentTile(item)
}
}
// other views here
}