Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-1121

z-index issue in iron-overlay-background in multiple modals

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2.39, 2.4.0
    • Fix Version/s: QualifiedToSchedule
    • Component/s: UI

      Description

      When we open a dialog inside another dialog we are missing an iron-overlay-backdrop on the top of the first one.

      If we use the reparenting option on the nuxeo-dialog, it behaves the expected way but, whenever we confirm or dismiss the second dialog, the overlay persists.

      This happens because the method complete() in iron-overlay-backdrop.js is only checking the body:

      complete: function() {
          if (!this.opened && this.parentNode === document.body) {
            dom(this.parentNode).removeChild(this);
          }
        },
      

        Attachments

        1. reparanting.mov
          1009 kB
        2. default.mov
          1.20 MB

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sfialho Samuel Fialho
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: