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 29, 2024
1 parent 6c39a69 commit 70e1f46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ extension BottomSheetInteractionController: UIGestureRecognizerDelegate {
}

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

guard !scrollView.canScrollHorizontally else {
Expand Down

0 comments on commit 70e1f46

Please sign in to comment.