Comment #4 on issue 1287 by jackmanbob: Typing a comment causes the
textarea to expand for every character typed
http://code.google.com/p/reviewboard/issues/detail?id=1287
Can you not do something like this? (just pseudo-code here will need
tweaking)
textArea.onfocus = function ()
{
textArea.origSize = new Array( textArea.offsetWidth,
textArea.offsetHeight );
}
textArea.onkeyup = function ()
{
if (textArea.offsetWidth != textArea.origSize[0])
{
textArea.width = textArea.origSize[0];
}
if (textArea.offsetHeight != textArea.origSize[1])
{
textArea.width = textArea.origSize[1];
}
}
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/reviewboard-issues?hl=en
-~----------~----~----~----~------~----~------~--~---