Page MenuHomePhabricator

Vector 2022 sticky header hides first option of MenuSelectWidget
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):
There might be easier mays to reproduce, but in my case:

  • Go to https://fr.wikipedia.org/wiki/Brandon_Lewis?useskin=vector-2022#bandeau-portail
  • load my gadget via console : mw.loader.load( '//fr.wikipedia.org/w/index.php?title=Utilisateur:Escargot_bleu/Gadget-BandeauxPortails.js&oldid=232362788&action=raw&ctype=text/javascript' );
  • click the "modifier" button next to "Portail de la politique britannique" to enable the gadget
  • Type "a" in the input, while scrolling in a way that in clips above the input and not below
  • if needed, resize the window, but on my 1080px screen with standard font size it is unneeded.

What happens?:
The first option is hidden by vector 2022 sticky header

Capture d'écran 2026-01-12 125106.png (732×1 px, 103 KB)

What should have happened instead?: no option is hidden

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

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

Event Timeline

Escargot_rouge renamed this task from Vector 2022 sticky header hides MenuSelectWidget's first option to Vector 2022 sticky header hides first option of MenuSelectWidget.Jan 12 2026, 12:26 PM

Change #1225557 had a related patch set uploaded (by SarthakSingh2904; author: SarthakSingh2904):

[oojs/ui@master] FloatableElement: Account for viewport spacing when positioning

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

Hello! I’ve completed the requested changes and pushed the update. I’d appreciate it if you could review it when convenient.
Thanks in advance.
@Escargot_rouge

Hello! I’ve completed the requested changes and pushed the update. I’d appreciate it if you could review it when convenient.
Thanks in advance.
@Escargot_rouge

Thank you @SarthakSingh2904 .
I tested by copying your code like this, but I still have the same issue of sticky header hiding content.

image_2026-01-13_102941993.png (610×1 px, 62 KB)

I'm not sure if copying like this is expected to work though.