With two open dialogs, closing one of them removes the background completely

Dear DG team, we are faced with the problem of closing dialogs and their backdrops.

For example, we have:

  1. Fullscreen dialog with backdrop
  2. Normal dialog without backdrop.

If we close Dialog 2, the backdrop associated with Dialog 1 will also be closed.

The js example:

const fullScreenDialog = ui.dialog('Full screen');
fullScreenDialog.showModal(true);

const smallDialog = ui.dialog('Small dialog');
smallDialog.show();

After you close smallDialog, the backdrop associated with fullScreenDialog will be also close, but fullScreenDialog itself will be displayed

I’ve fixed it. The fix will be available in the next release.
Thank you for reporting!

3 Likes