iOS: add h & v scroll bar enable for input

This commit is contained in:
王劲鹏 2021-07-29 16:29:46 +08:00 committed by osborn
parent d0c5161365
commit e1032721f1

View File

@ -225,6 +225,10 @@ - (void)blendView:(DoricInputView *)view forPropName:(NSString *)name propValue:
} else { } else {
self.onSubmitEditing = nil; self.onSubmitEditing = nil;
} }
} else if ([name isEqualToString:@"enableHorizontalScrollBar"]) {
view.showsHorizontalScrollIndicator = [prop boolValue];;
} else if ([name isEqualToString:@"enableVerticalScrollBar"]) {
view.showsVerticalScrollIndicator = [prop boolValue];;
} else { } else {
[super blendView:view forPropName:name propValue:prop]; [super blendView:view forPropName:name propValue:prop];
} }