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

When the end of the line is reached, pressing the spacebar does not switch to a new line. #397

Closed
m2sahin opened this issue Mar 20, 2022 · 1 comment

Comments

@m2sahin
Copy link

m2sahin commented Mar 20, 2022

When the end of the line is reached, pressing the spacebar does not switch to a new line. Press the space key 100 times at the end of the line, it will save it, but when you press another key it will switch to the new line and you will see the space then.

@FlashTang
Copy link

@m2sahin
Try apply css to textarea
white-space: break-spaces;
or
textArea.style.whiteSpace = "break-spaces";

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

No branches or pull requests

3 participants