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 if there aren’t many crashes, maybe you could simply ignore them.
@dimillian or, alternatively, try using introspect to access the underlying UIScrollView?
@a_grebenyuk I was thinking about that, but does it help me to scroll it at the correct place? I still need something, I can't calculate a scroll offset nor an index path with any guarantee.
@a_grebenyuk That what I'll see with the next hotfix. I don't know how widespread it is. And then I'll bug Apple for a fix hopefully in 16.4....