Steps to replicate the issue (include links if applicable):
- Log in
- Go to https://en.wikipedia.org/w/index.php?title=Hawaii&useskin=vector-2022
- Reduce viewport below 1000px
What happens?:
Page tools menu appears below the page title for an instance, before disappearing, causing a large flash and layout shift
What should have happened instead?:
Page tools is inside the dropdown, no flash
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
Developer notes
This is happening because the page tools is shown before JS kicks in and moves it into the dropdown. Related to automatic hiding of pinnable elements on small screens in pinnableElement.js. Should be able to add CSS to hide page tools before the JS takes over, similar to the TOC treatment
QA
- No flash from reloading the page for logged in users with the main menu pinned by default
- No flash from reloading the page for logged in users with the page tools pinned by default
- No flash from reloading the page for logged in users with the TOC pinned by default
QA Results - Beta
| AC | Status | Details |
|---|---|---|
| 1 | ❓ | T331563#8700701 |
| 2 | ❓ | T331563#8700701 |
| 3 | ✅ | T331563#8700701 |
QA Results - Prod
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T331563#8748123 |
| 2 | ✅ | T331563#8748123 |
| 3 | ✅ | T331563#8748123 |







