From 80b563de1b67309ff153f4b69c35e4b270e604ea Mon Sep 17 00:00:00 2001 From: Nikita Gvozdikov Date: Mon, 28 Oct 2024 12:34:32 +0300 Subject: [PATCH] Fixed bottom sheet gesture recognizer conflicts --- .../Interaction/BottomSheetInteractionController.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Sources/Addons/BottomSheet/Interaction/BottomSheetInteractionController.swift b/Sources/Addons/BottomSheet/Interaction/BottomSheetInteractionController.swift index c40ea9fe..c9f74d24 100644 --- a/Sources/Addons/BottomSheet/Interaction/BottomSheetInteractionController.swift +++ b/Sources/Addons/BottomSheet/Interaction/BottomSheetInteractionController.swift @@ -207,7 +207,10 @@ extension BottomSheetInteractionController: UIGestureRecognizerDelegate { } guard let scrollView = otherGestureRecognizer.view as? UIScrollView else { - return true + if otherGestureRecognizer is UITapGestureRecognizer { + return true + } + return false } guard !scrollView.canScrollHorizontally else {