From a2de02cc19f79ace82eae549adf5bb9002558186 Mon Sep 17 00:00:00 2001 From: XiaoLongHan Date: Thu, 17 Oct 2013 14:21:55 +0800 Subject: [PATCH 1/3] Change the class name of textfield to compare, so that you can touch anywhere outside of the virtual keyboard. --- cocos/2d/platform/ios/EAGLView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/2d/platform/ios/EAGLView.mm b/cocos/2d/platform/ios/EAGLView.mm index 188172e73a..5d305d4bdc 100644 --- a/cocos/2d/platform/ios/EAGLView.mm +++ b/cocos/2d/platform/ios/EAGLView.mm @@ -378,7 +378,7 @@ static CCEAGLView *view = 0; for(UIView* view in subviews) { - if([view isKindOfClass:NSClassFromString(@"CustomUITextField")]) + if([view isKindOfClass:NSClassFromString(@"CCCustomUITextField")]) { if ([view isFirstResponder]) { From 28c627fcfaa257547c5c3d295849dbc3173210e6 Mon Sep 17 00:00:00 2001 From: James Chen Date: Thu, 17 Oct 2013 15:38:24 +0800 Subject: [PATCH 2/3] Update CHANGELOG --- CHANGELOG | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 6163db0772..3b2637b29d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -12,6 +12,8 @@ cocos2d-x-3.0alpha1 @??? 2013 [FIX] Fixed application will crash when pause and resume. [Mac] [FIX] Removed unused CCLOG() from GL initialization +[iOS] + [FIX] Can't click the area that outside of keyboard to close keyboard when using EditBox. [Javascript binding] [FIX] Fixed a memory leak in ScriptingCore::runScript() [FIX] sys.localStorage.getItem() does not support non-ascii string. From 222cb93aaf7a05643e439ab16a1bd51814f5fdb6 Mon Sep 17 00:00:00 2001 From: James Chen Date: Thu, 17 Oct 2013 15:43:45 +0800 Subject: [PATCH 3/3] Update AUTHORS --- AUTHORS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AUTHORS b/AUTHORS index 22a8baf85e..0638129f45 100644 --- a/AUTHORS +++ b/AUTHORS @@ -617,6 +617,9 @@ Developers: jimmystar Fixed a bug that cc.Scheduler.schedule(target, func) without repeat argument couldn't repeat schedule forever on device. + XiaoLongHan (kpkhxlgy0) + Fixed a bug that outside of keyboard can't be responded to close keyboard when using EditBox。 + Retired Core Developers: WenSheng Yang Author of windows port, CCTextField,