From 194fdd2adc21ff6d29e8012fc7deeb503468c3cc Mon Sep 17 00:00:00 2001 From: "Boryk, Andrew [GTSUS]" Date: Wed, 28 Mar 2018 15:24:23 -0400 Subject: [PATCH] Fixed dismissGesture issue --- SideViewManager/Classes/SideViewManager.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SideViewManager/Classes/SideViewManager.swift b/SideViewManager/Classes/SideViewManager.swift index 35ca608..18f26e1 100644 --- a/SideViewManager/Classes/SideViewManager.swift +++ b/SideViewManager/Classes/SideViewManager.swift @@ -192,7 +192,7 @@ public class SideViewManager { } let sideFrame = view.frame - let loc = recognizer.location(in: sideView) + let loc = recognizer.location(in: view) if loc.x < 0 || loc.x > sideFrame.width { move(to: 0) } else if loc.y < 0 || loc.y > sideFrame.height {