XLForm
XLForm copied to clipboard
XLForm TextView's Placeholder's Font Bug When Scrolling To Update
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~
same.
My solution remove this line in XLFormTextViewCell.
self.textView.placeHolderLabel.font = self.textView.font;
but I think it's the line 113.
Actually, no need to remove the code as @xayoung mentioned, just override as follows:
[row.cellConfig setObject:[UIFont systemFontOfSize:13] forKey:@"textView.placeHolderLabel.font"];