GrowingTextView icon indicating copy to clipboard operation
GrowingTextView copied to clipboard

GrowingTextView frame issure

Open luoqisheng opened this issue 8 years ago • 1 comments

hi , your code in the Method - (void)refreshHeight,has a problem. The result of measureHeight is a float value,should not assign to the local var newSizeH which type is NSInteger. It may leads to the result smaller than the textview needs. you can fix it by NSInteger newSizeH = ceilf([self measureHeight]);

luoqisheng avatar Mar 17 '16 06:03 luoqisheng

This is a total lifesaver. Sometime between iOS7 and iOS10, I just noticed, after the growing text view expands from one line to multiple, the text on the final line became invisible. This fixes the issue. Thanks @luoqisheng!

lrettig avatar Oct 20 '16 21:10 lrettig