Skip to content
This repository has been archived by the owner on Apr 22, 2019. It is now read-only.

GrowingTextView frame issure #122

Open
luoqisheng opened this issue Mar 17, 2016 · 1 comment
Open

GrowingTextView frame issure #122

luoqisheng opened this issue Mar 17, 2016 · 1 comment

Comments

@luoqisheng
Copy link

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]);

@lrettig
Copy link

lrettig commented Oct 20, 2016

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants