Uploaded image for project: 'PUBLIC - Liferay Alloy UI'
  1. PUBLIC - Liferay Alloy UI
  2. AUI-179

OverlayMask does not always handle setting it's positioning correctly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.0.2
    • Component/s: Overlay (deprecated)
    • Labels:
      None

      Description

      OverlayMask has some bugs in it that cause it to sometimes render improperly.
      1. It uses 2 semi-global variables to check if the target of the overlay is the window or the document. However, the target can be different across multiple overlay masks, so these values should be per instance.
      2. The _uiSetXY method gets called during the sync phase, and if the page is scrolled when the sync phase happens, it will calculate the scrolled XY. However, when it's a full page overlaymask, we shouldn't bother setting the XY (it will always be 0,0).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nathan.cavanaugh Nate Cavanaugh
                Reporter:
                nathan.cavanaugh Nate Cavanaugh
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  7 years, 9 weeks, 4 days ago