Firefox doesn't display Jira Cloud Connect App after redirect

Hey,

we’re facing issues with our app in Firefox, it works fine in Chrome. The iframe containing the app loads the contents of our application but apparently Jira doesn’t realise our application has finished loading, and is keeping the iframe at opacity: 0; height: 0. If I manually override these settings, the application is visible and usable.
For technical reasons we have to do a redirect to another domain in our production environment inside the iframe via javascript (window.location.href="newDomain.com"). It seems like the issue is related to this redirect, since the app loads fine without redirect in our development environment (when exposing the app directly via a tool like ngrok).
Here’s a screenshot of the situation:


You can see that the DOM of our application is loaded in the iframe, but the CSS properties are unchanged and an Jira Cloud Error message is displayed.

Does anyone have an idea how we can fix this? How does Jira Cloud check if our application has finished loading?

Thanks for your help.

1 Like

Does the html that you’re loading have the all.js on it so the bridge can be restablished?

Both the html page triggering the redirect and the target page include the all.js script tag.

Oh - you’re going to a different domain - just caught that. I don’t think you can do that I would imagine it would mess up the cross domain event bridge.

/Daniel

Well, it seems to be working in Chrome, where the iframe is resized and displayed correctly after the redirect. But in Firefox something goes wrong…