Fix swipe gestures

This commit is contained in:
Ali
2023-10-26 17:40:54 +04:00
parent 6a52632335
commit 3b49480ef3
3 changed files with 24 additions and 61 deletions

View File

@@ -142,12 +142,12 @@ public final class NavigationContainer: ASDisplayNode, UIGestureRecognizerDelega
}
return .right
})
panRecognizer.dynamicEdgeWidth = { [weak self] _ in
/*panRecognizer.dynamicEdgeWidth = { [weak self] _ in
guard let self, let controller = self.controllers.last, let value = controller.interactiveNavivationGestureEdgeWidth else {
return .constant(16.0)
}
return value
}
}*/
if #available(iOS 13.4, *) {
panRecognizer.allowedScrollTypesMask = .continuous
}