Open Bug 2008579 Opened 10 months ago Updated 4 days ago

YouTube Music only shows horizontal scrollbars on browsers with "Chrome" in the UA string

Categories

(Web Compatibility :: Site Reports, defect, P3)

Tracking

(Webcompat Priority:P3, Webcompat Score:1, firefox160 wontfix, firefox161 wontfix)

ASSIGNED
Webcompat Priority P3
Webcompat Score 1
Tracking Status
firefox160 --- wontfix
firefox161 --- wontfix

People

(Reporter: cpeterson, Assigned: twisniewski)

References

()

Details

(5 keywords, Whiteboard: [webcompat:sightline][webcompat:core][autowebcompat:processed][autowebcompat:repro-success])

User Story

user-impact-score:0
platform:windows,mac,linux
impact:feature-broken-minor
configuration:general
affects:all
branch:release
diagnosis-team:media
autowebcompat-repro-status:success
autowebcompat-repro-chrome-mask-fixed:true
autowebcompat-repro-channels:nightly,stable,esr
autowebcompat-repro-report-os:all
autowebcompat-intervention-status:success

Attachments

(3 files, 1 external file)

Reported on Reddit:

https://www.reddit.com/r/firefox/comments/1q00xxy/why_does_youtube_music_show_a_horizontal/

Steps to reproduce

  1. Load https://music.youtube.com/ in Firefox or Safari
  2. Mouse over the song titles in the "Quick picks" or "Albums for you" rows.

Expected result

Horizontal scrollbars should appear, indicating you can scroll right for more songs. I see the scrollbar in Chrome and Edge.

Actual result

No horizontal scrollbars appear in Firefox or Chrome, though you can still scroll horizontally with Shift + mousewheel scroll.

If I spoof a Chrome UA string, or simply add the word Chrome to my Firefox UA String, then YouTube Music shows the horizontal scrollbars.

general.useragent.override pref = Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0 Chrome

Whiteboard: [webcompat:sightline]
User Story: (updated)
Webcompat Score: --- → 1
Severity: -- → S4
User Story: (updated)
Webcompat Priority: --- → P3
Webcompat Score: 1 → 5
Priority: -- → P3
User Story: (updated)
Webcompat Priority: P3 → P2
User Story: (updated)
Webcompat Score: 5 → 4
Whiteboard: [webcompat:sightline] → [webcompat:sightline][webcompat:core]
Whiteboard: [webcompat:sightline][webcompat:core] → [webcompat:sightline][webcompat:core][autowebcompat:processed]
User Story: (updated)
Whiteboard: [webcompat:sightline][webcompat:core][autowebcompat:processed] → [webcompat:sightline][webcompat:core][autowebcompat:processed][autowebcompat:repro-success]

On the YouTube Music home page, the horizontal shelf carousels never show a horizontal scrollbar in Firefox, so nothing indicates the rows can be scrolled right. The scroll container reserves a scrollbar track and the site's hover styling is applied, but the track area is laid out outside the shelf's clipping parent, so no scrollbar is ever painted. In Chrome the same rows paint a grey scrollbar thumb under the row on hover.

We can try adding a CSS/JS intevention here to un-hide the scrollbars, but we should avoid simply changing the UA string.

User Story: (updated)
Whiteboard: [webcompat:sightline][webcompat:core][autowebcompat:processed][autowebcompat:repro-success] → [webcompat:sightline][webcompat:core][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:intervention]
Whiteboard: [webcompat:sightline][webcompat:core][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:intervention] → [webcompat:sightline][webcompat:core][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:intervention-in-progress]

YouTube Music only sets browser-supports-hiding-scrollbars on ytmusic-carousel for Chrome UAs. Without it, #items gets padding-bottom: 20px; margin-bottom: -20px, which pushes the horizontal scrollbar outside the carousel's overflow: hidden box, so it is never visible. This CSS intervention removes that padding and negative margin so the site's hover scrollbar styling shows up, as it does in Chrome.

User Story: (updated)
Whiteboard: [webcompat:sightline][webcompat:core][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:intervention-in-progress] → [webcompat:sightline][webcompat:core][autowebcompat:processed][autowebcompat:repro-success]
Assignee: nobody → twisniewski
Status: NEW → ASSIGNED
Attachment #9670368 - Attachment description: Bug 2008579 - Add webcompat intervention for music.youtube.com → Bug 2008579 - Add webcompat intervention for music.youtube.com; r?ksenia
User Story: (updated)
Keywords: leave-open
User Story: (updated)
Webcompat Priority: P2 → P3
Webcompat Score: 4 → 1

Verified fixed in Nightly 161, though this bug is still open.

User Story: (updated)

The patch landed in nightly and beta is affected. Since this is an S4 bug and the release is 1 days away, setting cf_status_firefox161 to fix-optional: an uplift will be considered if requested, but it isn't required.

For more information, please visit BugBot documentation.

The patch landed in nightly and beta is affected.

:twisniewski, please make an uplift decision for beta:

  • For beta, nominate the patch for beta uplift approval if the fix should be included in this release, or set status-firefox161 to wontfix if the fix can wait for the next release.

Uplift requests can be submitted from Lando: D337464.

See Requesting an Uplift for documentation on how to request an uplift.

For more information, please visit BugBot documentation.

Flags: needinfo?(twisniewski)
Flags: needinfo?(twisniewski)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: