Page MenuHomePhabricator

Page scrolls when opening language selector
Closed, ResolvedPublic

Description

Steps to reproduce (in Firefox):

  1. Open ULS
  2. Click on language selector icon at the top of the page.

Observed:
I. Page scrolls down and is no longer at the position it used to be at.
II. Language selector is not visible.

Expected:
I. Page stays at the position it was at if the language selector can be displayed.
IV. Language selector is visible.

Other information:

  • Cannot be reproduced in Google Chrome.

Version: master
Severity: major
URL: https://translatewiki.net/wiki/Support

Details

Reference
bz56937

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 2:31 AM
bzimport set Reference to bz56937.

Change 94891 had a related patch set uploaded by Nikerabbit:
Page scrolls when opening language selector

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

Change 94891 merged by jenkins-bot:
Page scrolls when opening language selector

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

Change 95126 had a related patch set uploaded by Nikerabbit:
Refactor "Open language selector when logged in"

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

Change 95126 merged by jenkins-bot:
Refactor "Open language selector when logged in"

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

This wasn't fixed.

  1. Open https://www.mediawiki.org/wiki/Sandbox
  2. Click Language on top.

Url is now "https://www.mediawiki.org/wiki/Sandbox#".

The event handler should call e.preventDefault();