This issue was raised in one of our dev community threads: https://community.developer.atlassian.com/t/bug-with-having-two-aui-dialog2s-opened/41471
If you open two dialogs (dialog2) they share one blanket - the closing of the top-most dialog removes the blanket and leaves the first dialog without one.
Usage described in documentation
Demonstration of all states
Interactive state (screen readers)
Visual regression tests
Navigation (only keyboard / only mouse)
Component render legibly
Element status (At Rest/Pressed/Selected/Read Only/Disabled)
suggests this problem may be caused by some interop bug with Jira's Dialog and FormDialog components
I’m afraid is right here. I see no reasonable way of fixing that one the AUI side. I pinged people at #jira-server-frontend-group about the problem.
I’ve run the following experiment:
And for https://master--testpreview-aui-flatapp.netlify.app/dialog2/ it results in:
(I’ve run the scripts with the view looking as on the screen above and after calling show, then hide the screen returned to this stage perfectly fine)
but for our Jira (server) instance we have this:
(no cover visible) so apparently the blanked in Jira is not triggered by AUI and we cannot manage it’s behaviour.