mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-01 09:50:16 +00:00
Stop updating scroll position on updating timeline on iPad — it was fighting with user’s scrolling. Fixes #5330.
This commit is contained in:
1 parent
c283705f0a
commit
45c78e97bb
2 files changed
+2
-2
No files matched your search
@@ -277,7 +277,7 @@ final class MainTimelineModernViewController: UIViewController, UndoableCommandR
|
||||
let indexPaths = collectionView.indexPathsForSelectedItems ?? []
|
||||
if !indexPaths.contains(indexPath) {
|
||||
Self.logger.debug("MainTimelineModernViewController: restoreSelectionIfNecessary does not contain selected index path")
|
||||
collectionView.selectItem(at: indexPath, animated: false, scrollPosition: .centeredVertically)
|
||||
collectionView.selectItem(at: indexPath, animated: false, scrollPosition: [])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user