Users reported that pinch zooming on iOS (specifically 18.2) caused crashes, particularly when zooming into content and then swiping or zooming out aggressively tvavrda. While some users couldn’t reproduce the issue on iOS 18.2.1 david, tvavrda confirmed it persisted under certain conditions. The team reproduced the issue and identified it as likely a browser bug, but implemented a fix in Discourse core sam. However, crashes continued in the Graceful theme, prompting investigation into potential z-index issues sam. A fix was submitted and merged for the Graceful theme pmusaraj, which tvavrda confirmed resolved the issue. Later, pinch zoom stopped working entirely in PWA mode tvavrda, which was traced to a separate regression affecting DiscourseHub/PWA, not Safari pmusaraj. A follow-up commit resolved the PWA zoom issue david, and tvavrda confirmed functionality restored. The root cause is suspected to be a recent Safari regression, though reproduction outside Discourse remains elusive pmusaraj.
iOS 18.2 pinch zooming mostly crashes. Cannot zoom to images but also anything in a topic.
UPDATE: It seems to happen when you pinch zoom and then you “rough” swipe with one finger (e.g. to move all the way down) when zoomed in. Or zoom out. You must zoom into a content. When you zoom e.g. on buttons, it might not crash.
I’m going to file this upstream tomorrow (or see if somebody else filed it), this very much feels like a recent regression in Safari on iOS, this code has been in the Graceful theme for a long time.
The fix above is now merged, looks good here on meta, hope it’s the same on your instance @tvavrda, thanks for the report!
I tried to repro this on a simple codepen so I could report upstream, but I can’t repro. Something else on our app might contribute to the problem, trouble is, not sure how to track down what else is a contributing factor.
Seems good so far! I had a customized theme so I just reproduced your modifications and it looks good. I can finally look at images from my phone! Thanks for the support