Last modified: 2011-10-17 22:48:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32926, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30926 - free text field autogrow does not work on some major browsers
free text field autogrow does not work on some major browsers
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-16 03:31 UTC by badon
Modified: 2011-10-17 22:48 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description badon 2011-09-16 03:31:42 UTC
This was first posted here:

http://www.mediawiki.org/wiki/Extension_talk:Semantic_Forms#Autogrow_bug

I have confirmed it in Opera and in Google Chrome. Opera has the free text field collapse to just one line, while the Google Chrome behavior is to expand to a size much larger than necessary, which sounds similar to the reported FireFox behavior.

A solution may have been explored already, here:

http://stackoverflow.com/questions/3723963/jquery-val-does-not-work-for-textarea-in-opera
Comment 1 Thorncrag 2011-10-05 19:09:36 UTC
I can confirm this in FF7 as well as IE8.  In FF7, I tried activating autogrow on a few fields.  This worked as expected when creating new pages; however, upon editing existing pages with moderate amounts of text, the field was out of control.  For instance, a field that had about 50 lines of text, the field actually loaded with about 150 rows, 100 of which were empty.
Comment 2 Yaron Koren 2011-10-17 22:48:49 UTC
I believe I just fixed this in SVN. The issue was that the default width for textareas changed from 80 columns to "100%" - i.e., a pixel width instead of a character width - and the autogrow Javascript couldn't handle that correctly. I changed the default width to be a columns value again, if autogrow is set, and now it seems to be working fine.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links