Closed n3tman closed 5 years ago
I can't test on Safari macOS or iOS, actual stacktraces from development are required for me to fix this.
I was only able to test quickly the prod site using BrowserStack so I don't have the full proper stack trace, but here is the error I got:
Can't find variable: IntersectionObserver
Which seems to be caused by react-intersection-observer
in BeatmapScroller: https://github.com/lolPants/beatsaver-reloaded/blob/master/client/src/ts/components/Beatmap/BeatmapScroller.tsx#L2
The IntersectionObserver API has only been made available in Safari quite recently so I'm guessing a fair amount of Safari users still don't have access to it.
Looks like there's an easy way to polyfill it: https://github.com/thebuilder/react-intersection-observer#polyfill
Platform
This bug report concerns:
Details
Stack Trace:
Probably because of some unsupported browser API, please check on https://caniuse.com/
Reproducing the Problem
Open website on:
Further Detail
Screenshots from BrowserStack (real devices):
iPhone XS — Safari — Chrome
iPad Pro 12.9 (Chrome has the same issue)
macOS High Sierra (not reproduced in Chrome or macOS Mojave / Safari 12)