Page MenuHomePhabricator

Clicking on a region scrolls whole page instead of just relevant box
Closed, ResolvedPublic

Description

In ULS's "Select language" box (accessed by clicking the "English" button next to one's username on wikis such as Wikidata), clicking on one of the regions ("America", "Asia/Pacific", etc, in the map) causes the entire page to scroll down so that the top of the page is at the top of the relevant header, pushing the rest of the Select language box (including the search box and map), and much of the background page, off screen.

A preferable behavior, I think, would be to just have the box containing the languages (.uls-language-list) scroll down to the header, without moving the surrounding page.


Version: unspecified
Severity: normal
URL: https://translatewiki.net/wiki/Support?uselang=en

Details

Reference
bz59175

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:40 AM
bzimport set Reference to bz59175.

What browser are you using?

I can reproduce this on OSX 10.9.1 with Firefox 26.0 and Google Crome 31.0.1650.63.

Steps to reproduce:

  1. Go to URL (this must be a page that is taller than the browser window, i.e. has a vertical scroll bar)
  2. Open ULS
  3. Click "Europe" on the map (3rd area of 4).

Observed:
I. Page scrolls to Europe
II. Language list scroll to Europe

Expected:
II. Page stays at the same level horizontal level
III. Language list scrolls to Europe

Change 105663 had a related patch set uploaded by Amire80:
When clicking a region, scroll only the list and not the whole page

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

Change 105663 merged by jenkins-bot:
When clicking a region, scroll only the list and not the whole page

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

Change 105671 had a related patch set uploaded by Siebrand:
When clicking a region, scroll only the list and not the whole page

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

Change 105671 merged by jenkins-bot:
When clicking a region, scroll only the list and not the whole page

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