Last modified: 2012-02-24 02:52:27 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 T35256, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33256 - When changing language, underlying page scrolls
When changing language, underlying page scrolls
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Generic (Other open bugs)
1.0.0 (Android)
All All
: Normal normal
: ---
Assigned To: Brion Vibber
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-19 19:47 UTC by Phil Chang
Modified: 2012-02-24 02:52 UTC (History)
3 users (show)

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


Attachments

Description Phil Chang 2011-12-19 19:47:42 UTC
Strange one - when scrolling through the list of languages to read the current article in, the underlying article also scrolls. This is briefly visible before the new page loads.
Comment 1 Brion Vibber 2011-12-19 22:29:53 UTC
This happens with other overlays, such as history, bookmarks, and search as well.

Probably simply because they all work within the same document body; could perhaps save and restore scroll positions when showing/hiding overlays.
Comment 2 Brion Vibber 2011-12-19 22:36:00 UTC
Did a quick test; zepto doesn't have $.scrollTop so that fails.

Tried saving/restoring window.scrollY in hideContent / showContent but it seems to have no effect.

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


Navigation
Links