XLForm icon indicating copy to clipboard operation
XLForm copied to clipboard

XLForm TextView's Placeholder's Font Bug When Scrolling To Update

Open xxzizixx opened this issue 6 years ago • 2 comments

There is a litter bug in XLFormTextViewCell, The first, I set the textView placeHolder font to 14, there is nothing wrong with it. but when I scrolling the cell, at this time the textView's placeholder's font will change . To solve this bug, you can remove the line 133 in XLFormTextViewCell, and it will well done~

xxzizixx avatar Apr 13 '18 02:04 xxzizixx

same. My solution remove this line in XLFormTextViewCell. self.textView.placeHolderLabel.font = self.textView.font; but I think it's the line 113.

xayoung avatar Mar 22 '19 08:03 xayoung

Actually, no need to remove the code as @xayoung mentioned, just override as follows:

[row.cellConfig setObject:[UIFont systemFontOfSize:13] forKey:@"textView.placeHolderLabel.font"];

maksumon avatar Oct 18 '19 06:10 maksumon