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

Does not autosize when we add space at last of the line. #59

Open
mayankkataria opened this issue Oct 4, 2020 · 4 comments
Open

Does not autosize when we add space at last of the line. #59

mayankkataria opened this issue Oct 4, 2020 · 4 comments
Labels

Comments

@mayankkataria
Copy link

I tried it with both textarea and ion-textarea. In both the cases, new row is not added when we add spaces at last of line.

@capc0
Copy link
Contributor

capc0 commented Oct 9, 2020

can you prove the exact example string content and a screenshot where it should break?

@mayankkataria
Copy link
Author

Screenshot (44)
Screenshot (45)
In string content I wrote Hello bla bla bla and then I keep on adding spaces and the content is not wrapped and autosize. You can also check on your own website https://chrum.it/pages/ngx-autosize/ Just keep on adding spaces in textareas.

@capc0
Copy link
Contributor

capc0 commented Oct 12, 2020

try adding

white-space: break-spaces;

to your textarea

@mayankkataria
Copy link
Author

try adding

white-space: break-spaces;

to your textarea

It worked. Thanks 👍

@chrum chrum added the tips label Nov 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants