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 Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.0.2
    • Component/s: Overlay (deprecated)
    • Labels:
      None
    • Similar Issues:
      Show 5 results 

      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).

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Nate Cavanaugh
              Reporter:
              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:
                4 years, 49 weeks ago

                Development

                  Structure Helper Panel