A user reports excessive runtime when navigating back in the Discourse calendar PWA after viewing upcoming events, particularly on iOS Safari. The issue, observed with ~82 total events across plugins, appears to stem from a Safari PWA/WebKit interaction, as it doesn’t occur in regular Safari or Safe Mode. Network activity and console errors were checked, but no immediate issues were found. The team acknowledges the problem, noting that a fullcalendar library upgrade (already merged) may resolve it, though deployment could be delayed until August. The user confirms the issue persists on desktop Chromium but is resolved by pressing back, indicating a potential navigation or state management bug. Ethsim2 provided detailed reproduction steps and a video, while sam and j.jaffeux are investigating and working on a fix.
Let’s hold a few days on this, @j.jaffeux is working on an upgrade for the full calendar control. It may (or may not) resolve this issue as a side effect.
We are quite a distance away from the current version of this library. An upgrade my sort out some quirks.
Noting, that we will do our best but for various reasons (release timeline, handling side effects of these changes in other projects), it might be in August.
Symptom: When installed as a Safari PWA (Add to Home Screen), the app consistently collapses the calendar after
opening left side panel
press “Upcoming events”
press > multiple times
notice collapse to the side, so page needs to be refreshed
• Control tests:
• Safari browser (no PWA): works fine, even without Safe Mode.
• Safe Mode in Safari: works fine. Didn’t raise any JavaScript deprecation errors in /logs despite enabling
• PWA: reproducibly collapses.
So far this points to a Safari PWA/WebKit interaction, rather than a component/theme problem.
Recording: I’ve captured short repros of
1. Normal Safari (works)
2. Safari Safe Mode (works)
3. PWA (collapses)