Prevent scrolling when reloading and reselecting a cell.

This commit is contained in:
Maurice Parker 2019-08-29 14:04:15 -05:00
parent 379ba49fd5
commit 8e583c2fad
1 changed files with 1 additions and 1 deletions

View File

@ -479,7 +479,7 @@ private extension MasterTimelineViewController {
block() block()
if let articleID = article?.articleID, let index = coordinator.indexesForArticleIDs(Set([articleID])).first { if let articleID = article?.articleID, let index = coordinator.indexesForArticleIDs(Set([articleID])).first {
let indexPath = IndexPath(row: index, section: 0) let indexPath = IndexPath(row: index, section: 0)
tableView.selectRow(at: indexPath, animated: false, scrollPosition: .middle) tableView.selectRow(at: indexPath, animated: false, scrollPosition: .none)
} }
} }