Prevent scrolling when reloading and reselecting a cell.
This commit is contained in:
parent
379ba49fd5
commit
8e583c2fad
|
@ -479,7 +479,7 @@ private extension MasterTimelineViewController {
|
|||
block()
|
||||
if let articleID = article?.articleID, let index = coordinator.indexesForArticleIDs(Set([articleID])).first {
|
||||
let indexPath = IndexPath(row: index, section: 0)
|
||||
tableView.selectRow(at: indexPath, animated: false, scrollPosition: .middle)
|
||||
tableView.selectRow(at: indexPath, animated: false, scrollPosition: .none)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue