philgyford/daily-paper

Not working in Android Chrome and Firefox

philgyford opened this issue · 1 comments

I use Android 9 and in both Firefox and Chrome, it simply doesn't seem to work properly for me. The animations and 'button'/article length things work, and I can swipe between pages, but only the first article loads. Nothing else. It's really weird. I made a short screen recording in case it is any help to you. It shows the website in (as far as I can tell) vanilla, up to date Chrome. I use Firefox by default,and run an ad blocker, so I thought I'd demo the problem in Chrome as it's close to standard installation. The problem can be replicated in Firefox on Android as well though.

The only tip I can offer is that the subsequent blank pages always seem to be the same 'length' (height) as the first. It's like the subsequent pages do not get reloaded and the scrollbar and page height remains the same as it was for the first, correctly loading page.

One final tip: if I ask Chrome to force load the desktop version of the website, the issue goes away - but also the navigation works completely differently to the mobile version, as you would expect.

Maybe related to the way the old JS detects features and devices, so related to #33?

https://twitter.com/dracos/status/1270407304404484096

As for Android Chrome, looks like you are adding a "right" class at the start to all touch devices, but then only changing it for webkit touch devices, so the new page never appears, it is left off-screen.