Skip to content

Commit 9d9babf

Browse files
guangyaoguangyao
authored andcommitted
Fix 输入框有阴影的问题
1 parent 7be2838 commit 9d9babf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ios/RCTAuroraIMUI/DWCustomView/InputView/DWInputBarControl.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ - (void)addSubContentView{
170170
_inputGrowView = [[HPGrowingTextView alloc]init];
171171
_inputGrowView.backgroundColor = toolBackColor;
172172
_inputGrowView.layer.cornerRadius = 5.0f;
173+
_inputGrowView.layer.masksToBounds = YES;
173174
_inputGrowView.layer.borderColor = [UIColor colorWithRed:200/255.0 green:200/255.0 blue:200/255.0 alpha:1.0].CGColor;
174175
_inputGrowView.layer.borderWidth = 1;
175176
// _inputGrowView.minNumberOfLines = 0.5;

0 commit comments

Comments
 (0)