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
@alpennec the list view ld force the list to completely re render, and then once it’s rendered I’m scrolling to the original status. The crash seems like it was related to scrolling when the list was not ready. The opacity is just to hide the fact that in between it’s scrolled to the top.
@dimillian@alpennec totally get it. Whenever you have time, try looking at it :-) I think the difference would be that scrolling position per se would not be destroyed in IDing ForEach
@dimillian@alpennec Had been happening to me each morning for the past couple of days. Had to switch back to Mammoth for my first session of the day because of that. Flashing is not pretty, but it’s still better than a crash.
@slothdude@alpennec it’ll ship today so let me know how it goes. Same for me and it’s been ruining the fun of the app completely. So much that I thought about reverting everything and going back to the old behavior of manual tapping + scroll to top with new posts.
@dimillian I do find it somewhat amusing, though, that in the end your workaround does involve the async main call. I don’t remember how many issues I have had to fix with that piece of chewing gum.