Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Fix #7645: Explicitly end interactive tab reorder before starting again #8161

Merged
merged 1 commit into from
Sep 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@ class TabsBarViewController: UIViewController {
break
}

// _UIDragSnappingFeedbackGenerator will occasionally throw an exception that its "already being
// interacted with" without explicitly ending the interactive movement on begin
collectionView.endInteractiveMovement()
Task.delayed(bySeconds: 0.1) { @MainActor in
self.collectionView.beginInteractiveMovementForItem(at: selectedIndexPath)
}
Expand Down