Textarea overflow-x when a user copy-pastes into it?
- by Logan
Hi,
I have a textarea with overflow-x: auto; attributed to it. It works great when a user is typing text into the box by hand. When a user copy pastes a line from a file, however, that is bigger than my textarea, the overflow-x property does not work, instead the textarea wordwraps the long line.
Is there a way (maybe javascript) to make overflow-x work on copy-paste?
Thanks.