   public func previewInteraction(_ previewInteraction: UIPreviewInteraction, didUpdateCommitTransition transitionProgress: CGFloat, ended: Bool) {
     guard ended else { return }
     guard let path = expandedIndexPath else { return }
+    panGestureRecognizer.isEnabled = false
     if shouldCommitPreviewAction {
       openDetailView(for: path)
     } else {

  public func previewInteractionDidCancel(_ previewInteraction: UIPreviewInteraction) {
    collapseCells()
    
    // This trick will prevent expanding cell in `didSelectRowAt indexPath` method
    tableView.allowsSelection = false
    DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 0.1) {

      }
    }
    
    for case let elongationCell as ElongationCell in tableView.visibleCells {
      if shouldExpand, cell === elongationCell {
        continue
      }
      elongationCell.parallaxOffset(offsetY: tableView.contentOffset.y, height: tableView.bounds.height)
    }
    
  }
  
  override func gestureRecognizerSwiped(_ gesture: UIPanGestureRecognizer) {
