From a932f3b782e042abeb4510ce849daa57c2b45bae Mon Sep 17 00:00:00 2001 From: Shin Yamamoto Date: Mon, 11 Jan 2021 22:46:34 +0900 Subject: [PATCH] Stop moving a panel while the tracking table view is editing (#431) To fix https://github.com/SCENEE/FloatingPanel/issues/427 --- Sources/Core.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/Core.swift b/Sources/Core.swift index bf98e250..f277117b 100644 --- a/Sources/Core.swift +++ b/Sources/Core.swift @@ -579,6 +579,9 @@ class Core: NSObject, UIGestureRecognizerDelegate { if scrollView.isDecelerating { return true } + if let tableView = (scrollView as? UITableView), tableView.isEditing { + return true + } return false }