Post

Replies

Boosts

Views

Activity

Comment on SwiftUI bottom-first List (inverted)
Yes I currently use the ScrollViewReader workaround to scroll to bottom on initial list load. Unfortionately, it has side effects and uses delays to achieve a reliable scroll to bottom. With UITableView this was possible by calling reloadData() before setting the content offset of the list to content height on first load (as described here). In SwiftUI this API is unavailable (unless you use Introspect). - though I had no success with it).
Jun ’21