Page MenuHomePhabricator

Toggling collapsible talk page banners on DT-enhanced mobile talk pages causes scrolling
Closed, ResolvedPublicBUG REPORT

Description

Steps to reproduce

  1. Open https://en.m.wikipedia.org/wiki/Talk:Doctor_Who?dtenable=1&safemode=1 in a desktop browser.
  2. Click the Learn more about this page link.
  3. Scroll down to the article history template.
  4. Click the [show] link next to Article milestones.

Actual result

  1. The collapsible section is toggled, and it scrolls out of view (you’re taken to the top of the popup).

Expected result

  1. The collapsible section is toggled. No scrolling happens.

Other information

Event Timeline

matmarex added a subscriber: matmarex.

It's actually an OOUI issue, all dialogs scroll to top whenever you resize them. I guess we're not resizing that many scrollable dialogs.

You can see this bug in VE's save dialog, when the copyright message is long enough to require scrolling, and you press Enter while in the dialog (which shows a message advising you to use Ctrl+Enter instead and resizes to show it).

Change 883666 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[oojs/ui@master] Preserve scroll position when resizing windows

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

Change 883666 merged by jenkins-bot:

[oojs/ui@master] Preserve scroll position when resizing windows

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

Change 886986 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/core@master] Update OOUI to v0.46.3

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

Change 886986 merged by jenkins-bot:

[mediawiki/core@master] Update OOUI to v0.46.3

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

EAkinloose added a subscriber: EAkinloose.

Tested on Firefox and Chrome