diff --git a/DuckDuckGo/TabSwitcherViewController.swift b/DuckDuckGo/TabSwitcherViewController.swift index 5256e21bc9..8d41d58603 100644 --- a/DuckDuckGo/TabSwitcherViewController.swift +++ b/DuckDuckGo/TabSwitcherViewController.swift @@ -518,9 +518,12 @@ extension TabSwitcherViewController: TabObserver { return } - if let index = tabsModel.indexOf(tab: tab), index < collectionView.numberOfItems(inSection: 0) { - collectionView.reconfigureItems(at: [IndexPath(row: index, section: 0)]) - } + collectionView.performBatchUpdates({}, completion: { [weak self] completed in + guard completed, let self = self else { return } + if let index = self.tabsModel.indexOf(tab: tab), index < self.collectionView.numberOfItems(inSection: 0) { + self.collectionView.reconfigureItems(at: [IndexPath(row: index, section: 0)]) + } + }) } }