Page MenuHomePhabricator

VisualEditor: Using the formatting drop-down scrolls the page to the top (except in Firefox)
Closed, ResolvedPublic


This happened on MediaWiki, and on Chrome.

Open some article for editing (preferably a long one so the effect is seen)
add some text in the middle or end, mark it and make it a "Heading".

Observed result: The text turns into a heading, but the entire edit section scrolls up to the top of the page. This is especially annoying when the page is long and when the edit is done in the middle.

Version: unspecified
Severity: minor



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:47 AM
bzimport set Reference to bz50792.

I just checked the editor on Firefox 22.0, and it does not scroll there (works as expected). The bug seems to be in Chrome only.

If it helps, that's the UserAgent for my Chrome browser:

Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36

Confirmed in Chrome, Safari and not in Firefox, for whatever reason.

  • Bug 50860 has been marked as a duplicate of this bug. ***

Change 72768 had a related patch set uploaded by Robmoen:
Affordances for MenuWidget to be optionally focusable.

Change 72768 merged by jenkins-bot:
Affordances for MenuWidget to be optionally focusable.

This is now fixed by the above commit; we'll get it deployed soon. Sorry for the disruption.