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

Make nuxeo-dialog lazy stamp it's content by default

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.3.2
    • Component/s: UI
    • Tags:
    • Sprint:
      nxGang Sprint 10.2.2, nxGang Sprint 10.2.3
    • Story Points:
      2

      Description

      Today <nuxeo-dialog> has similar behavior to <paper-dialog> and the content is stamped to DOM as soon as it is attached, regardless of whether it is visible or not.
      It would probably make sense to have nuxeo-dialog stamp it's content only when visible and detaching it when closed (or at least but this behavior behind a "restamp" flag ie).
      Also the hoist to the document's body should only happen when the dialog is opened (and it should be removed when close or at least when detached).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d