From 0ce567fe1869a4d8cf09bcc08d5c9b4e5992b7d1 Mon Sep 17 00:00:00 2001 From: Peter <> Date: Wed, 28 Aug 2019 23:21:53 +0400 Subject: [PATCH] Fix context menu scrolling --- submodules/ContextUI/Sources/ContextController.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/submodules/ContextUI/Sources/ContextController.swift b/submodules/ContextUI/Sources/ContextController.swift index 4625c2dae1..8caa10449c 100644 --- a/submodules/ContextUI/Sources/ContextController.swift +++ b/submodules/ContextUI/Sources/ContextController.swift @@ -684,6 +684,8 @@ private final class ContextControllerNode: ViewControllerTracingNode, UIScrollVi if let result = contentParentNode.contentNode.hitTest(contentPoint, with: event) { if result is TextSelectionNodeView { return result + } else if contentParentNode.contentRect.contains(contentPoint) { + return contentParentNode.contentNode.view } } }