Last modified: 2014-05-07 11: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 T66927, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64927 - mediawiki.toc: Table of contents should not animate to initial collapsed state
mediawiki.toc: Table of contents should not animate to initial collapsed state
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
1.24rc
All All
: Normal enhancement (vote)
: 1.24.0 release
Assigned To: Nobody - You can work on this!
: performance
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-05 22:09 UTC by Krinkle
Modified: 2014-05-07 11:48 UTC (History)
5 users (show)

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


Attachments

Description Krinkle 2014-05-05 22:09:55 UTC
After clicking [hide] in the table of contents of an article, every subsequent page you visit is initiated by seeing the table of contents quickly slide up on page load.

This is both distracting (user experience) and wasteful (performance).
Comment 1 Krinkle 2014-05-05 22:12:21 UTC
In fact, on a plain page. It is the *only* part of the page that requires the content to reflow (moving part of it upwards).

All the other modules that interact with the DOM happen out of flow and only require a local repaint of the area that the dynamic panel was added to.
Comment 2 Gerrit Notification Bot 2014-05-06 20:08:48 UTC
Change 131853 had a related patch set uploaded by Gerrit Patch Uploader:
mediawiki.toc: Hide toc without animation in initial collapsed state

https://gerrit.wikimedia.org/r/131853
Comment 3 Gerrit Notification Bot 2014-05-06 23:18:23 UTC
Change 131853 merged by jenkins-bot:
mediawiki.toc: Hide toc without animation in initial collapsed state

https://gerrit.wikimedia.org/r/131853

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


Navigation
Links