Last modified: 2014-05-20 10:36:55 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 T59275, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57275 - textarea problems when editing existing header or post
textarea problems when editing existing header or post
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-19 23:02 UTC by spage
Modified: 2014-05-20 10:36 UTC (History)
5 users (show)

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


Attachments

Description spage 2013-11-19 23:02:33 UTC
If you edit an existing header or post in Firefox and Chromium in wiki text mode,
* The textarea starts out two lines tall regardless of how many lines of text it contains.
* The textarea has no scrollbar regardless of how many lines of text it contains.
* The textarea has no resize grabber handle.
The moment you press a key in the textarea (even an arrow key), it autosizes to its contents, which is good but
* It autosizes regardless of the window size or scroll position.
* There seems no limit to how big the textarea gets.
* After I Cancel or Submit changes of a 130-line textarea, the original post (probably much less tall) doesn't scroll into view, I'm left at some random point in the document.
** (And because there are dozens of empty comment areas on the board with my name, I can't search on my username to find my just-edited post, but that's a different issue.)

I think most of these are side-effects of the fix for bug 56131 "reply and edit text boxes do not expand." There are many jquery.*resize* libraries addressing this, Benny comments "we used jquery.elastic for Moodbar." (FWIW, ooui doesn't seem to support this.)

While I'm here, I also note that clicking the pencil icon to edit the header or a post does not set the input focus to the textarea. It should, and that might fix some issues.
Comment 1 spage 2013-11-20 00:17:07 UTC
The WMF core features team tracks this bug on Mingle card https://mingle.corp.wikimedia.org/projects/flow/cards/496, but people from the community are welcome to contribute here and in Gerrit.
Comment 2 Gerrit Notification Bot 2013-11-20 21:12:03 UTC
Change 96636 had a related patch set uploaded by Bsitu:
Textarea should auto-expand to content height during initial load

https://gerrit.wikimedia.org/r/96636
Comment 3 Gerrit Notification Bot 2013-11-21 22:06:25 UTC
Change 96636 merged by jenkins-bot:
Textarea should auto-expand to content height during initial load

https://gerrit.wikimedia.org/r/96636
Comment 4 Gerrit Notification Bot 2013-12-02 11:46:50 UTC
Change 98497 had a related patch set uploaded by Matthias Mullie:
Alternative method to focus textarea

https://gerrit.wikimedia.org/r/98497
Comment 5 Andre Klapper 2014-05-20 10:36:55 UTC
Assuming this bug is FIXED as all patches were merged.
If that is not the case: Please reopen and elaborate what is left to do here to get this report fixed.

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


Navigation
Links