Page 1 of 1

textarea paste wrap issue

Posted: Tue Aug 28, 2018 5:19 pm
by kroberson
I've run into an odd issue that I think might be an bug in the textarea widget. I've tried several different settings for word wrap, size, etc, but I'm not able to solve it. Here is what's happening:

Text pasted in textarea shifts when a key is pressed. After the paste, when a key is pressed or the textarea loses focus, the CR/LF on the first line is removed and the text that follows shifts up. This messes up the word wrap. It only happens with a key event (down, up, press) and not with a mouse event (right click | paste). If you paste with Ctrl-V it will happen immediately. If you paste with the mouse, it doesn't happen until you press a key or click outside of the textarea. I'll attach a couple of screenshots.

Thanks for your help,

Kevin
MousePaste.pdf
(44.34 KiB) Downloaded 227 times
KeyPress.pdf
(50.12 KiB) Downloaded 194 times

Re: textarea paste wrap issue

Posted: Tue Aug 28, 2018 5:33 pm
by Scott Klement
If you think this is a bug, please report it as such to Profound Logic so that it can be handled properly. You can do that by sending an e-mail to support@profoundlogic.com

Re: textarea paste wrap issue

Posted: Tue Aug 28, 2018 5:53 pm
by kroberson
Will do. Thanks Scott.