From db1e1279e3a48ac09eb7c31e76dce9035958c4bf Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Sat, 7 Mar 2020 10:01:31 +0800 Subject: [PATCH] iOS:fix cannot find onDrag error --- doric-iOS/Pod/Classes/Shader/DoricDraggableNode.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doric-iOS/Pod/Classes/Shader/DoricDraggableNode.m b/doric-iOS/Pod/Classes/Shader/DoricDraggableNode.m index 42925194..6f5a625e 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricDraggableNode.m +++ b/doric-iOS/Pod/Classes/Shader/DoricDraggableNode.m @@ -43,7 +43,8 @@ - (void)onDrag:(UIPanGestureRecognizer *)gesture { - (void)blendView:(DoricStackView *)view forPropName:(NSString *)name propValue:(id)prop { if ([name isEqualToString:@"onDrag"]) { _onDragFunction = prop; + } else { + [super blendView:view forPropName:name propValue:prop]; } - [super blendView:view forPropName:name propValue:prop]; } @end