Skip to content
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

Increase field height based on placeholder #153

Closed
wants to merge 1 commit into from
Closed

Increase field height based on placeholder #153

wants to merge 1 commit into from

Conversation

imthath-m
Copy link

I'm facing issues with a rather long placeholder. I tried to increase the height of the text field and set word wrapping as placeholder attribute. I'm not sure why the attribute is not being reflected.

CleanShot 2021-03-27 at 12 19 27@2x

Let me know if there is any limitation particular to this field. The word wrapping works in other text fields in my app.

@ricardopereira
Copy link
Member

@imthath-m Please ignore my comment. I forgot that the placeholder comes from the textField and unfortunately the UITextField doesn't support multiple lines. To achieve your goal, you should implement a customized solution.

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

Successfully merging this pull request may close these issues.

Increase field height to fit multi line placeholder
2 participants