Scroll to the bottom when new element is added in the list ?
Closed this issue · 1 comments
divyanshunegi commented
Hi, I stumbled upon this awesome library which does solve a lot of issues which are yet to be perfected by apple SwiftUI team, but the main problem which I was having is, I am building a chat screen in my app and cannot scroll to the bottom when a new chat is added in the list, I tried my own way of making a custom scroll view but I am worried that it might have a lot of performance issues and is not that optimized.
chris-swift-dev commented
Hey,
the best solution in my opinion is to use the ScrollViewReader introduced in iOS 14.