Open Bug 1944518 Opened 1 year ago Updated 4 months ago

app.powerbi.com - Unable to scroll vertical and horizontal overflow elements, scroll bar missing

Categories

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

Desktop
macOS

Tracking

(Webcompat Priority:P3, Webcompat Score:1)

ASSIGNED
Webcompat Priority P3
Webcompat Score 1

People

(Reporter: ctanase, Assigned: twisniewski)

References

()

Details

(4 keywords, Whiteboard: [webcompat-source:web-bugs])

User Story

platform:mac
impact:feature-broken
configuration:general
affects:all
branch:release
diagnosis-team:layout
user-impact-score:0
outreach-assignee:denschub
outreach-contact-date:2025-02-03
outreach-reference:mozilla-microsoft-discuss

Attachments

(3 files)

Environment:
Operating system: Mac OS X 10.15
Firefox version: Firefox 134.0/136

Steps to reproduce:

  1. Go to https://app.powerbi.com/view?r=eyJrIjoiYmVjMjViZjgtYTI2NS00NzcxLWFiMDQtYjM5OGI2YWQzMDUwIiwidCI6IjA0MmQ3NzA5LWMwNWItNGRlZC1hYjg4LTc0NDMwYzU0YmZlNyJ9
  2. Observe the page.

Expected Behavior:
Vertical and horizontal overflow elements have a scroll bar.

Actual Behavior:
Vertical and horizontal overflow elements do not have a scroll bar.

Notes:

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

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

Attached image FF vs Chrome.png —

This seems to be UA dependent? Works for James on Linux, works with Chrome Mask, broken with the default macOS UA

Severity: -- → S2
User Story: (updated)
Webcompat Priority: --- → P2
Webcompat Score: --- → 7
Priority: -- → P2

(In reply to Dennis Schubert [:denschub] from comment #2)

This seems to be UA dependent? Works for James on Linux, works with Chrome Mask, broken with the default macOS UA

Confirmed. It's slightly more subtle than just UA-sniffing, though, because I still get expected results on linux even when using Firefox-for-macOS UA string.

I think they also check "is your navigator.platform macOS". I strongly suspect this is the relevant JS:

        if (
          [...conditions that don't matter...] ||
          d.macosx &&
          !d.webkit
        ) return !1;

https://content.powerapps.com/resource/powerbiwfe/scripts/reportembed.externals.bundle.min.40263725b44d9c8afdc6.js

d.macosx and d.webkit are defined in the same file, here:

      macosx: /mac/i.test(navigator.platform),
[...]
      webkit: /webkit/i.test(navigator.userAgent) &&
      !/edge\/\d+/i.test(navigator.userAgent)

Anyway: still seems like we can avoid this by spoofing a Chrome UA on macOS. I imagine the site is trying to avoid having their scrollbars overlap with overlay-scrollbars, or something along those lines, but the result ends up being completely broken unfortunately.

Flags: needinfo?(dschubert)
User Story: (updated)
Flags: needinfo?(dschubert)
Severity: S2 → S4
User Story: (updated)
Webcompat Priority: P2 → P3
Webcompat Score: 7 → 4
Keywords: leave-open
Priority: P2 → P3
Assignee: nobody → twisniewski
Status: NEW → ASSIGNED
Pushed by twisniewski@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/93ea8b3b2c3a add a MacOS-only UA override for app.powerbi.com to unhide their scrollbars; r=denschub,webcompat-reviewers
Webcompat Score: 4 → 1
Keywords: leave-open
User Story: (updated)

The page is gone now; I get this when I visit:

This content isn't available.
Learn more about Power BI.

However, we do still seem to need an intervention for PowerBI, and they are using webkit-scrollbar CSS without the standards-compliant variants for scrollbar styling, based on what I see at https://app.powerbi.com/view?r=eyJrIjoiN2U3NGMyNWEtZTAxNS00MzVhLWExNmMtOThhZjdiYjQ4MWNkIiwidCI6IjEyNGU2OWRiLWVmNjUtNDk2Yi05NmE5LTVkNTZiZWMxZDI5MSIsImMiOjl9

I'll update the intervention appropriately.

User Story: (updated)
Pushed by twisniewski@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/409a8dbff613 https://hg.mozilla.org/integration/autoland/rev/f67c0e7010c5 update our webcompat intervention for app.powerbi.com to hide scrollbar styling on Mac; r=webcompat-reviewers,ksenia
Whiteboard: [webcompat-source:web-bugs] → [webcompat-source:web-bugs][webcompat:core]
Whiteboard: [webcompat-source:web-bugs][webcompat:core] → [webcompat-source:web-bugs]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: