From 78a167fec17d4872461e444f8cb75184fb8b763d Mon Sep 17 00:00:00 2001 From: Knox Date: Thu, 28 Sep 2017 10:25:25 +0800 Subject: [PATCH] [ci skip]when keyboard is popup, engine should not continue to handle touch events --- cocos/platform/ios/CCEAGLView-ios.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/cocos/platform/ios/CCEAGLView-ios.mm b/cocos/platform/ios/CCEAGLView-ios.mm index 1f06a0f274..fdde23abff 100644 --- a/cocos/platform/ios/CCEAGLView-ios.mm +++ b/cocos/platform/ios/CCEAGLView-ios.mm @@ -406,6 +406,7 @@ Copyright (C) 2008 Apple Inc. All Rights Reserved. if (isKeyboardShown_) { [self handleTouchesAfterKeyboardShow]; + return; } UITouch* ids[IOS_MAX_TOUCHES_COUNT] = {0};