Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-2059

ModalWindow vertical position in iframes is incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 1.3.5, 1.4-M1, 1.4-M2, 1.4-M3, 1.4-RC1
    • None
    • wicket-extensions
    • None

    Description

      In a normal page, the ModalWindow center method in modal.js centres the window in the exact centre of the viewable screen, horizontally and vertically.

      However, in an iframe, the viewport calculation is not correct and if the iframe is long, the ModalWindow can be positioned off screen. Adjustment to the vertical centre calculations needs to be done to make it work with iframes.

      Attachments

        1. modalwindowbug.zip
          6.17 MB
          Sander Plas

        Activity

          People

            jcompagner Johan Compagner
            steve.swinsburg Steve Swinsburg
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: