From e1032721f1944f082d2793abc36b7532e1aedbd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8A=B2=E9=B9=8F?= Date: Thu, 29 Jul 2021 16:29:46 +0800 Subject: [PATCH] iOS: add h & v scroll bar enable for input --- doric-iOS/Pod/Classes/Shader/DoricInputNode.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doric-iOS/Pod/Classes/Shader/DoricInputNode.m b/doric-iOS/Pod/Classes/Shader/DoricInputNode.m index 7afdaba3..dd9d44d6 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricInputNode.m +++ b/doric-iOS/Pod/Classes/Shader/DoricInputNode.m @@ -225,6 +225,10 @@ - (void)blendView:(DoricInputView *)view forPropName:(NSString *)name propValue: } else { self.onSubmitEditing = nil; } + } else if ([name isEqualToString:@"enableHorizontalScrollBar"]) { + view.showsHorizontalScrollIndicator = [prop boolValue];; + } else if ([name isEqualToString:@"enableVerticalScrollBar"]) { + view.showsVerticalScrollIndicator = [prop boolValue];; } else { [super blendView:view forPropName:name propValue:prop]; }