From 87d9039b279102ebd5aa819e815748633436a823 Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Thu, 30 Apr 2020 18:43:57 +0800 Subject: [PATCH] iOS:fix input show hintText --- doric-iOS/Pod/Classes/Shader/DoricInputNode.m | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doric-iOS/Pod/Classes/Shader/DoricInputNode.m b/doric-iOS/Pod/Classes/Shader/DoricInputNode.m index 8bd20fda..665bfb2f 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricInputNode.m +++ b/doric-iOS/Pod/Classes/Shader/DoricInputNode.m @@ -94,8 +94,11 @@ - (void)blendView:(UITextView *)view forPropName:(NSString *)name propValue:(id) - (void)blend:(NSDictionary *)props { [super blend:props]; - [self updatePlaceholderLabel]; - [self.view.superview setNeedsLayout]; +} + +- (void)requestLayout { + [super requestLayout]; + [self updatePlaceholderLabel]; } #pragma mark - Doric-JS api