Flash of unstyled content on opencode.ai website when navigating to Zen tab #1953

Open
opened 2026-02-16 17:33:24 -05:00 by yindo · 2 comments
Owner

Originally created by @bkjoel on GitHub (Oct 4, 2025).

Originally assigned to: @adamdotdevin on GitHub.

Hey folks, love what you're doing here, hopefully this isn't too much of an annoyance to flag -

I've noticed a flash of unstyled content when navigating between routes on the site, steps to reproduce -

  1. Visit opencode.ai
  2. Click on the Zen tab
  3. Note the noticeable layout shift awaiting the Zen page's CSS retrieval

here's a screen recording as well -

https://github.com/user-attachments/assets/ffc35b8e-5a9d-4ec7-bd6f-b22ff1e78869

It looks like the route’s HTML renders before the CSS is retrieved, leading to a FOUC.
Would this be something worth addressing? Totally get it if it’s not top priority right now.
I could also take a look at it, haven't got bun setup properly yet on my non-work machine.

Originally created by @bkjoel on GitHub (Oct 4, 2025). Originally assigned to: @adamdotdevin on GitHub. Hey folks, love what you're doing here, hopefully this isn't too much of an annoyance to flag - I've noticed a flash of unstyled content when navigating between routes on the site, steps to reproduce - 1. Visit opencode.ai 2. Click on the Zen tab 3. Note the noticeable layout shift awaiting the Zen page's CSS retrieval here's a screen recording as well - https://github.com/user-attachments/assets/ffc35b8e-5a9d-4ec7-bd6f-b22ff1e78869 It looks like the route’s HTML renders before the CSS is retrieved, leading to a FOUC. Would this be something worth addressing? Totally get it if it’s not top priority right now. I could also take a look at it, haven't got bun setup properly yet on my non-work machine.
Author
Owner

@rekram1-node commented on GitHub (Oct 4, 2025):

yeah i think itd be worth addressing not highest priority ofc but it should be fixed yea

@rekram1-node commented on GitHub (Oct 4, 2025): yeah i think itd be worth addressing not highest priority ofc but it should be fixed yea
Author
Owner

@rekram1-node commented on GitHub (Oct 4, 2025):

@adamdotdevin not really sure who is best to assign here so I figured I'd assign you lmk if this is better suited for david? Or frank?

@rekram1-node commented on GitHub (Oct 4, 2025): @adamdotdevin not really sure who is best to assign here so I figured I'd assign you lmk if this is better suited for david? Or frank?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1953