Skip to content

Commit

Permalink
Fixed bottom sheet gesture recognizer conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
gvozdikovn committed Oct 28, 2024
1 parent 6c39a69 commit 785febb
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,11 @@ extension BottomSheetInteractionController: UIGestureRecognizerDelegate {
}

guard let scrollView = otherGestureRecognizer.view as? UIScrollView else {
return true
if otherGestureRecognizer is UITapGestureRecognizer {
return true
} else {
return false
}
}

guard !scrollView.canScrollHorizontally else {
Expand Down

0 comments on commit 785febb

Please sign in to comment.