Open Bug 1945438 Opened 1 year ago Updated 3 days ago

www.tiktok.com - Unneccessary scroll bar overlapping categories

Categories

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

Firefox 136
Desktop
Windows 10

Tracking

(Webcompat Priority:P3, Webcompat Score:1, firefox134 affected, firefox136 affected)

ASSIGNED
Webcompat Priority P3
Webcompat Score 1
Tracking Status
firefox134 --- affected
firefox136 --- affected

People

(Reporter: ctanase, Assigned: twisniewski)

References

(Depends on 3 open bugs, )

Details

(Keywords: leave-open, webcompat:site-report, webcompat:sitepatch-applied, Whiteboard: [webcompat-source:web-bugs][webcompat:sightline][webcompat:japan][webcompat:core])

User Story

platform:windows
impact:significant-visual
configuration:general
affects:all
branch:release
diagnosis-team:layout
user-impact-score:0

Attachments

(3 files)

Environment:
Operating system: Windows 10
Firefox version: Firefox 134/136

Steps to reproduce:

  1. Go to https://www.tiktok.com/explore
  2. Observe the categories section.

Expected Behavior:
No scroll bar is present below the categories bar.

Actual Behavior:
Scroll bar overlapping the categories.

Notes:

  • Reproduces regardless of the status of ETP
  • Reproduces in firefox-nightly, and firefox-release
  • Does not reproduce in chrome

Created from https://github.com/webcompat/web-bugs/issues/146225

Attached image image.png
Version: unspecified → Firefox 136
Severity: -- → S4
User Story: (updated)
Webcompat Priority: --- → P3
Webcompat Score: --- → 4
Priority: -- → P3

The site uses non-standard CSS pseudo-element ::-webkit-scrollbar to hide scrollbars.

.css-6503w-DivCategoryList::-webkit-scrollbar {
    display: none;
    width: 0px !important;
    height: 0px !important;
}
Whiteboard: [webcompat-source:web-bugs] → [webcompat-source:web-bugs][webcompat:sightline]
Webcompat Score: 4 → 6
Depends on: 1886138
Webcompat Score: 6 → 4
Webcompat Score: 4 → 6

This hides the scrollbar on Chrome:

.css-t1qd2d-DivCategoryList::-webkit-scrollbar {
    display: none;
    width: 0px !important;
    height: 0px !important;
}

They seem to have missed having an equivalent scrollbar-width here (though they're using it elsewhere). We can just add this intervention:

.css-t1qd2d-DivCategoryList {
   scrollbar-width: none;
}
Keywords: leave-open
Assignee: nobody → twisniewski
Status: NEW → ASSIGNED
Pushed by twisniewski@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6c36c49de04b add a CSS intervention for tiktok.com to hide extra scrollbars; r=denschub,webcompat-reviewers
Webcompat Score: 6 → 1

Hmm. Their CSS classes have already changed, breaking the intervention. I'll update it to be a bit more robust, since the problem still persists.

Attachment #9491856 - Attachment description: Bug 1945438 - update out CSS webcompat intervention for TikTok to hide a superfluous scrollbar; r?denschub → Bug 1945438 - update our CSS webcompat intervention for TikTok to hide a superfluous scrollbar; r?denschub
Pushed by twisniewski@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d4615b6160bb https://hg.mozilla.org/integration/autoland/rev/db052e997218 update our CSS webcompat intervention for TikTok to hide a superfluous scrollbar; r=denschub,webcompat-reviewers
Whiteboard: [webcompat-source:web-bugs][webcompat:sightline] → [webcompat-source:web-bugs][webcompat:sightline][webcompat:japan]
User Story: (updated)
Whiteboard: [webcompat-source:web-bugs][webcompat:sightline][webcompat:japan] → [webcompat-source:web-bugs][webcompat:sightline][webcompat:japan][webcompat:core]
Depends on: 2028297
Depends on: 2028298
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: