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

viewport height not correctly calculated on IE7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.3.3
    • None
    • wicket-datetime
    • None

    Description

      I noticed the vertical positioning of the popup isn't corrected properly under IE7.

      Digging in the code, I found that Wicket.DateTime.getViewportHeight() returns 'undefined' under IE7. This is a hack to work around an old problem in the standard YAHOO.util.Dom.getViewportHeight();.

      It seems the hack is now broken, and the standard YAHOO.util.Dom.getViewportHeight(); has since been fixed: after replacing Wicket.DateTime.getViewportHeight() with YAHOO.util.Dom.getViewportHeight(); it now works fine under both IE and FF again.

      Attachments

        Issue Links

          Activity

            People

              ivaynberg Igor Vaynberg
              raboof Arnout Engelen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: