This is a migrated thread and some comments may be shown as answers.

Multiline RadTextBox wraps in the middle of a word

5 Answers 99 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
jlj30
Top achievements
Rank 2
jlj30 asked on 26 Feb 2014, 10:16 PM
Hi,

See the attached screenshot for an example of the issue.
We have observed that this occurs in Chrome and Safari on the Mac and Chrome on Windows.
IE and Firefox (Windows and Mac) appear to be OK.

I thought this might be related to the use of Resize="Vertical" that we implemented recently, but that doesn't seem to be the case.

Any suggestions?

Thanks in advance.

Jim

5 Answers, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 03 Mar 2014, 03:12 PM
Hello Jim,

I tried reproducing the described problem locally but to no avail. Could you please examine the attached test website and tell us what differs in your case? If you could modify it so that the issue can be observed we should be able to quickly determine its root cause.

Regards,
Angel Petrov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
0
Paul
Top achievements
Rank 1
answered on 18 Mar 2014, 08:06 PM
The issue happens to be some css that we had in our Master page. Causes problems with Chrome and Safari. Using  Browser specific css to get around the problem.

 .RadInput textarea {
            white-space: pre !important;
        }

Regards
  Paul
0
Nick McConnell
Top achievements
Rank 1
answered on 25 Jun 2014, 06:27 PM
Hi Paul, we are seeing the exact same problem with regards to word wrapping (not not wrapping actually), could you please let me know either what CSS you found to be causing the problem or what you did exactly to fix it? Thank you in advance. -David
0
jlj30
Top achievements
Rank 2
answered on 26 Jun 2014, 02:03 PM
Hi David,

I work with Paul who is on vacation right now.
I think Paul pointed out what was the cause of the issue in his post (the white-space value).
What he ended up doing was adding this style to only IE and FireFox pages since it is required to make the Enter key work properly within a multiline textbox for those browsers.
Don't you just love browser inconsistencie :)

Jim
0
Nick McConnell
Top achievements
Rank 1
answered on 27 Jun 2014, 12:22 AM
Got it, thank you for the reply. David
Tags
General Discussions
Asked by
jlj30
Top achievements
Rank 2
Answers by
Angel Petrov
Telerik team
Paul
Top achievements
Rank 1
Nick McConnell
Top achievements
Rank 1
jlj30
Top achievements
Rank 2
Share this question
or