[jQuery] Dealing with Firefox textarea bug? (somewhat off topic)
Hi folks,
I hope this isn't too terribly off topic, since the actual problem is
a Firefox bug, but perhaps it will be of interest to other
Firefox/jQuery users. I am using a very simple jQuery script to input
unusual characters. It simply runs a bunch of substitutions on the
.value of a textarea on every .keyup(). Here's a test:
http://ruphus.com/debug/eo.html
It works fine, but if the text is too long to fit in the textarea, it
automatically scrolls back to the top after every keyup -- that is,
every time the textarea's .value is reset. This is a known bug in
Firefox:
https://bugzilla.mozilla.org/show_bug.cgi?id=231389
There is a workaround in that thread:
https://bugzilla.mozilla.org/attachment.cgi?id=145368
But it ain't pretty. Perhaps someone here has dealt with this bug, or
has an idea for a better workaround?
Cheers,
Pat Hall
--
˙6uısnɯɐ sı əpoɔıun
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/