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).
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’21
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).
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Comment on SwiftUI bottom-first List (inverted)
Did you read my question? reversing the items of the list doesn't bear on it's starting position visually.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’21