So I had to choose between a random crash on ScrollViewProxy scrollTo and a flash when adding a new posts on the top of the timeline... I choose the flash. This is a sad day for #SwiftUI
@dimillian hah, I had a feeling it wasn’t going to just work 😁. I have a workaround for a somewhat similar issue in Pulse where I temporarily hide the view during updates and show an identically looking placeholder.
@a_grebenyuk and it still crashing with that… much less but I got one… at this point I really don’t know what to do.
@dimillian showing SwiftUI views as UICollectionView (or UITableView) cells is pretty easy.
@a_grebenyuk It’ll take half of the fun out of the app :/ + all the quirks of having UIKit playing nicely with SwiftUI for basically everything a status row does.

@dimillian @a_grebenyuk what about dropping in some external libs that bring back the fun?

https://github.com/SwiftUIX/SwiftUIX has a collection view wrapper

GitHub - SwiftUIX/SwiftUIX: Extensions and additions to the standard SwiftUI library.

Extensions and additions to the standard SwiftUI library. - GitHub - SwiftUIX/SwiftUIX: Extensions and additions to the standard SwiftUI library.

GitHub
@teomatteo89 @a_grebenyuk I'm taking a look, at this point.... why not.