Fix for landscape mode menu tap to dismiss
This commit is contained in:
1 parent
df032e6072
commit
7429a42c26
1 file changed
+1
-1
@@ -670,7 +670,7 @@ private extension UISideMenuNavigationController {
|
||||
}
|
||||
|
||||
@objc func handleDismissMenuTap(_ tap: UITapGestureRecognizer) {
|
||||
guard !view.bounds.contains(tap.location(in: view)) else { return }
|
||||
guard view.window?.hitTest(tap.location(in: view), with: nil) == view.superview else { return }
|
||||
dismissMenu()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user