Page MenuHomePhabricator

TOC scrollbar should be on top of bottom fade (Chrome & Safari)
Closed, ResolvedPublic

Description

Description

In Chrome and Safari the scroll bar in the TOC fades as it reaches the bottom (Firefox does not).

ChromeFirefoxSafari
Screen Recording 2022-06-17 at 4.14.41 PM.mov.gif (658×270 px, 412 KB)
Screen Recording 2022-06-17 at 4.15.24 PM.mov.gif (658×270 px, 387 KB)
Screen Recording 2022-06-17 at 4.12.35 PM.mov.gif (658×270 px, 246 KB)

Chrome example:

Screen Shot 2022-06-27 at 1.45.01 PM.png (591×624 px, 172 KB)

Developer notes

Setting right of the fade a bit bigger so as not to affect scrollbar seems to fix it - patch attached

QA steps

Screen Shot 2022-07-08 at 12.49.13 PM.png (1×1 px, 402 KB)

QA Results - Beta

ACStatusDetails
1T311436#8080080

QA Results - Prod

ACStatusDetails
1T311436#8118132

Event Timeline

This comment was removed by ovasileva.
ovasileva triaged this task as Medium priority.Jun 28 2022, 9:48 AM
ovasileva updated the task description. (Show Details)
ovasileva raised the priority of this task from Medium to High.Jun 30 2022, 8:21 AM

Change 810119 had a related patch set uploaded (by Clare Ming; author: Clare Ming):

[mediawiki/skins/Vector@master] TOC scrollbar should not fade

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

cjming updated the task description. (Show Details)
cjming subscribed.

Change 810119 merged by jenkins-bot:

[mediawiki/skins/Vector@master] TOC scrollbar should not fade

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

cjming updated the task description. (Show Details)
cjming updated the task description. (Show Details)

Test Result - Beta

Status: ✅ PASS
Environment: beta
OS: macOS Monterey
Browser: Chrome
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

Navigate to a page on beta cluster that has a long TOC i.e. https://en.wikipedia.beta.wmflabs.org/wiki/Barack_Obama
Open up some sections to invoke the scrollbar
Scroll down to bottom of TOC and note that the scrollbar does not fade
✅ AC1: Test on affected browsers

ChromeFirefoxSafari
Screen Recording 2022-07-14 at 6.56.21 PM.mov.gif (1×540 px, 1 MB)
Screen Recording 2022-07-14 at 7.00.47 PM.mov.gif (1×540 px, 664 KB)
Screen Recording 2022-07-14 at 7.00.03 PM.mov.gif (1×540 px, 949 KB)

Test Result - Prod

Status: ✅ PASS
Environment: enwiki
OS: macOS Monterey
Browser: Chrome
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

Navigate to a page on beta cluster that has a long TOC i.e. https://en.wikipedia.beta.wmflabs.org/wiki/Barack_Obama
Open up some sections to invoke the scrollbar
Scroll down to bottom of TOC and note that the scrollbar does not fade
✅ AC1: Test on affected browsers

ChromeFirefoxSafari
Screen Recording 2022-07-31 at 1.41.57 PM.mov.gif (876×562 px, 617 KB)
Screen Recording 2022-07-31 at 1.44.02 PM.mov.gif (876×562 px, 635 KB)
Screen Recording 2022-07-31 at 1.49.37 PM.mov.gif (876×562 px, 1 MB)

This is what I'm seeing in production right now (Chrome 103, safemode on) - sidebar does not fade and top of sidebar looks cut off

Screen Shot 2022-08-01 at 2.41.56 PM.png (1×1 px, 721 KB)