-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple line placeholder #1
Comments
🤔 It is because of this line |
The moment they start typing the height is for one line of text, then the behavior is like on the 1st image (multiple lines of text) and if they clear the text, the height goes back down to what it's supposed to be (depending on the lines in placeholder) and the placeholder is shown. |
I have pushed a new version to a master branch so could you please update the pod from there. I wish it will fix your problem. Use this to update from master:
pod 'STTextView', :git => 'https://github.com/onl1ner/STTextView.git'
$ pod update |
Closing this issue due to inactivity. Please reopen if you still facing with that problem. |
I have a textView in a UITableViewCell, and the cell's height changes dynamically depending on the textView's input - when I add more lines of text or delete some of it.
However, it does not work well with the placeholder's number of lines, and only shows the 1st line of placeholder.
The cell's height changes when I add new lines
I am currently going around this by making my placeholder a UILabel and constantly setting up the constraints for it.
Expected
Reality (ignore placeholder color differences)
The text was updated successfully, but these errors were encountered: