Page MenuHomePhabricator

Special:Preferences jumps down when clicking the "Banners" tab
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Go to https://en.wikipedia.org/wiki/Special:Preferences, do not scroll down
  • Click on some tabs on top, like "Appearance" or "Editing": page stays on top
  • Click on the "Banners" tab: page jumps down (#mw-prefsection-centralnotice-banners), especially visible on smaller screens

What happens?:
page jumps down to the content, on smaller screens user has to scroll back up to change a tab.

What should have happened instead?:
Clicking on any of the tab shouldn't make the page jump down. Page shouldn't react at all, like with every other tab.

Other information (browser name/version, screenshots, etc.):
Firefox 118

Details

Related Changes in Gerrit:

Event Timeline

Tufor renamed this task from Special:Preferences jumps down while clicking the "Banners" tab to Special:Preferences jumps down when clicking the "Banners" tab.May 11 2024, 4:43 PM

Change #1030312 had a related patch set uploaded (by Wargo; author: Wargo):

[mediawiki/core@master] Match `-` in preferences tabs hashes

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

@matmarex Could I have flag to allow all patches on Patchdemo?

Absolutely! Doing it in https://gerrit.wikimedia.org/r/c/integration/config/+/1031519. This will also make jenkins-bot run the whole test suite on your patches.

as there's no progress: wouldn't it be easier to just change the id to something without the additional hyphen, like #mw-prefsection-centralnotice?

Wargo removed Wargo as the assignee of this task.Oct 30 2024, 9:25 PM
Wargo subscribed.

Change #1030312 abandoned by Hashar:

[mediawiki/core@master] Match `-` in preferences tabs hashes

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

Change #1030312 restored by Thcipriani:

[mediawiki/core@master] Match `-` in preferences tabs hashes

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