Question

Lovable app crashes on iPhone but works on desktop

Solved · 10 views · asked by noor_builds · edited

Safari on iPhone reloads the page after a few seconds on my dashboard. Desktop Chrome is fine. No error, just a white flash and reload.

What I’ve tried

Removed some animations. Still happens.

Comment

1 answer

Marked as helpful by the asker
ben_mobile · edited

A silent reload on iOS Safari is almost always memory: the tab is killed and restarted. Common causes in generated dashboards:

  • Rendering 1,000+ rows without virtualization
  • Huge images (a 4 MB hero on a 3 MB budget)
  • A useEffect without cleanup that keeps adding listeners

Open Safari's Web Inspector via your Mac (Develop menu) and watch the memory timeline. Fix: paginate the list (20 rows), resize images, add cleanup returns.

Comment