-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Fixed textarea overflow #1986
Fixed textarea overflow #1986
Conversation
whiteSpace: 'pre-wrap', | ||
width: 'inherit', | ||
wordBreak: 'break-word' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we following styleOptions.messageActivityWordBreak
? @corinagum what do you think?
If yes, should we add more tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmmm good point. However, if it's not 'break-word' it creates undesired behavior so I think we would want it to stay on 'break-word' always.
Thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My brain stuck last week. Please keep break-word
.
whiteSpace: 'pre-wrap', | ||
width: 'inherit', | ||
wordBreak: 'break-word' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My brain stuck last week. Please keep break-word
.
Fixes #1980
Changelog Entry
Fix #1980. Changed sendBoxTextArea styles to break words longer than the textarea, by @tdurnford in PR #1986
Description
Set the sendBoxTextArea's 'word-break' style option to 'break-word,' so that text wider than the textarea will wrap to the next line.