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 80b563d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 80b563d

Please sign in to comment.