From 83d3e6a8c077243a4649387f984533bfca1b2229 Mon Sep 17 00:00:00 2001 From: acton393 Date: Fri, 6 Jan 2017 23:15:50 +0800 Subject: [PATCH] * [ios] bugfix view event --- ios/sdk/WeexSDK/Sources/View/WXView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/sdk/WeexSDK/Sources/View/WXView.m b/ios/sdk/WeexSDK/Sources/View/WXView.m index 94870cfaa8..6185427026 100644 --- a/ios/sdk/WeexSDK/Sources/View/WXView.m +++ b/ios/sdk/WeexSDK/Sources/View/WXView.m @@ -22,7 +22,7 @@ - (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event /** * Capturing touches on a subview outside the frame of its superview if it does not clips to bounds. */ - if (self.hidden) { + if (self.hidden || !self.userInteractionEnabled) { return nil; }