Bug: App Bridge <s-app-window> stuck in infinite spinner on cancelled browser reload

Hey @Alan_G,

Thanks for getting back to me, and my sincere apologies for the direct tag! To give a little context, a teammate of mine posted about another App Bridge related issues over a month ago that unfortunately didn’t get any traction. Since this current bug is the absolute final blocker keeping us from launching our app, I tagged you out of a bit of desperation to make sure it didn’t get buried. I completely understand the rule, though, and will keep it in mind moving forward. Thank you for stepping in to help!

Here are the details to help raise this internally:

  • App Bridge version: Loaded via the global CDN script: [https://cdn.shopify.com/shopifycloud/app-bridge.js]

  • Browser + OS: Google Chrome running on Ubuntu.

  • Minimal app route: Yes, this reproduces completely outside of our production environment. The code snippet and screenshots I shared previously are from a barebones, isolated Nuxt 4 test app (bfs-nuxt4-app) used specifically to isolate this bug. After your message, I set up another app and made the bare minimum changes to make App Bridge work with a form, and I was able to replicate the issue there as well.

  • Repro/Recording: Here is a short screen recording showing the exact stalled state along with my project setup: https://www.awesomescreenshot.com/video/53253278?key=b62989c350a34d61b9d5e47d462777b1. I’d also be happy to share access to the minimal reproduction repo if the internal team needs to test the code directly.

Thanks again for escalating this. Let me know if you need anything else from my end.

Best,
Kamran