Modal no longer loading in development on latest POS app version

I’ve noticed that some of my POS extensions no longer work in development after updating to the latest POS app version. I have tried to debug this but could not find a solution.

In short, right after launching the modal something breaks causing the modal to become unresponsive. I can see web requests succeeding in the debugger, yet the modal stays in a loading state. Furthermore, after getting in this unresponsive state none of the other development tiles work. Clicking them simply does nothing.

This is only happening in development; deploying the extension and opening the released version works fine.

Please let me know if there is anything I can do to help debug this. I would love to get this resolved asap since it’s forcing me to develop the extension without hot reloading. Just for context, the affected extensions are quite large (~2mb), I think this may have to do with this issue (though this was never a problem before)

Hey @Tim thanks for reporting. Is this happening on all apiVersions of ui extensions? I’m also wondering if there’s a specific component that might be a culprit. We noticed some issues with some of the callbacks like .blur() and .focus() on the fields that will be addressed in a hotfix going out hopefully today.

Another thing to rule out could be cloudflare tunnels. But either way, when you encounter this next, if you could leave your cloudflare tunnel running and DM it to me in the partner slack, maybe I can try to debug it locally on my environment.

Hi @JS_Goupil, I have only tested 2024-07. I indeed noticed the issues with focus() and blur(), but since this issue occurs before the extension even exits the loading state I believe this to be a separate issue.

I also don’t think the tunnel is the issue as I can see all outgoing requests succeeding and receiving data. Only the modal does not update to reflect that. I will DM you my tunnel url so you can see what’s going on with my extension!