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

Improve nuxeo-dialog

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: UI

      Description

      There are some known limitations with iron-overlay-behavior and the stacking context causing the dialog to appear behind the backdrop.

      https://github.com/PolymerElements/paper-dialog/issues/109

      https://www.webcomponents.org/element/PolymerElements/iron-overlay-behavior
      "You should place this element as a child of <body> whenever possible."

      Add a property to nuxeo-dialog to allow it to be moved to <body> when opened (and moved back to the original DOM node when closed), so we can deal with this limitation in some use cases where we want to have a dialog declared inside an element (ex: UI actions elements) but want to open it with <body> as parent.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: