iOS app: Content disappears when scrolling long post

AI-generated summary

The discussion revolves around a bug in the iOS app where content disappears when scrolling a long post. gingerbeardman shared a video demonstrating the issue, which seems to be an iOS 14 bug also present in Safari. A workaround is to use Reader mode.

The issue persists across iOS versions (14.1, 14.2, 14.4, and 14.5) and is not exclusive to the Discourse app, as it also occurs when viewing the forum through other apps (Discord) or browsers (Safari, Chrome). anon82467725 suggested that the problem might be due to Safari 14 or WebKit.

pmusaraj mentioned making a change in the tests-passed branch that might help, but it will take time to reach the stable branch. gingerbeardman reported that the issue is slightly different in iOS 15 beta, where content disappears only after stopping scrolling.

Using the web inspector, gingerbeardman discovered that the post class is switched to cloaked-post, which comes from the Discourse source code. A possible explanation is that the Discourse forum code hides the post when the top of the post is too far off-screen.

Video of it happening:

This seems like an iOS 14 bug as it also happens in Safari.

Workaround is to use Reader mode.

1 Like

Does it only happen on that forum only? And if so, on several pages or that specific one?

1 Like

I’ve only seen it on that one page. It’s a single long OP post with a lot of text in.

I’ll see if I can save the HTML and host it myself to see if it still occurs in Safari.

1 Like

I’m also seeing this in the Gmail iOS app when scrolling long HTML emails

Seems like it’s hitting a lot of people:

https://twitter.com/tyrannicus100bc/status/1252270373413896195

I suggest we just wait for an apple fix here.

1 Like

Of course, it’s Apple iOS 14 problem.

FWIW my browser does not hang at any point. See video above in the OP where I get it to go white and come back many times.

Bug still present in iOS 14.1

Come on Apple!

1 Like

I know iOS 14.2 is already in development, so :folded_hands:

1 Like

Still a problem with 14.2 :cry:

All iOS browsers/web wrappers are just Safari reskins due to guidelines from Apple. Safari 14 could be to blame. As a result, I doubt that this is an issue with the operating system.


Does Discourse Hub or Fig work? I would try the latter if the former doesn’t work.

I’m using Discourse Hub (problem) and Safari (problem)

Fig is great - gorgeous app - but the forum with an easy to access example of the problem is private so I can’t add it without paying a subscription.

I’ll try to find another example.

In that case, I would blame WebKit.

Still happening in iOS 14.4

:sob:

1 Like

It’s odd because the footer from the page is still visible. It’s just that the content of the long post disappears after you scroll past certain point.

Recording from Safari app iOS 14.4

Interesting. I see that devforum.play.date is on the stable branch. I made a change a little while ago in tests-passed, reducing the frequency of calculations when scrolling the post stream. In theory that might help here, we’ll have to wait and see, it will take a while for that change to make it to the stable branch.

5 Likes

I’m yet to try with web inspector to see what’s really going on here

1 Like

Still happening in iOS 14.5 :man_shrugging:

1 Like

Slightly different in iOS 15 beta. It still disappears but only after you’ve stopped scrolling so you can scroll and read. Progress, I guess!

4 Likes