Problem with opening an Atlaskit modal inside a webItem dialog the first time we install the app
We have a Connect in Forge application accessed from the apps menu on the Jira issue navigator (View All Issues) page. The app uses a webItem of type dialog
to open. Inside this webItem dialog, we render an Atlaskit modal with the version "@atlaskit/modal-dialog": "12.13.2"
. The dialog configuration in the manifes.yml
is as follows:
target:
type: dialog
options:
chrome: false
size: maximum
We are experiencing a display issue. Attached, you’ll find an image showing how it should look and another showing how it currently appears.
Here is a screenshot showing the issue with the incorrect display:
Here is a screenshot showing the app displaying correctly:
Steps to reproduce the issue:
- A user installs our app.
- They go to the “View All Issues” page and open our app.
- The first time they do this, the modal appears incorrectly, as shown in the attached image.
- If the user refreshes the page and opens the app again, the issue no longer occurs, and the modal displays correctly.
Additionally, we’ve noticed the following:
- If, right after installing the app, it is opened by a different user (not the one who installed it), the issue does not occur. This only happens to the person who installs the app the first time they try to open it.
According to our manifest.yml
configuration with chrome: false
, the dialog header and buttons should never appear.
We need assistance to figure out how to resolve this problem.
Best regards,
Thank you very much!